Facilitating autonomous computing within a cloud service

ABSTRACT

A method of facilitating autonomous computing within a cloud service includes generating a cloud service based on a lifecycle management topology, in which the cloud service is an autonomous management service, a self-management service, or combinations thereof. The method also includes establishing a number of management processes to be performed within the cloud service, in which the number of management processes comprise autonomous management processes, self-management processes, or combinations thereof. The cloud service includes an instantiation of the topology and a number of applications executable on the instantiation of the topology.

BACKGROUND

An increasingly larger number of business entities and individuals are turning to cloud computing and the services provided through a cloud computing system in order to, for example, sell goods or services, maintain business records, and provide individuals with access to computing resources, among other cloud-related objectives. Cloud computing provides consumers of the cloud with scalable and pooled computing, storage, and networking capacity as a service or combinations of such services built on the above. A cloud may be designed, provisioned, deployed, and maintained by or for the entity for which the cloud computing system is created. Designing, provisioning, deploying, and maintaining a cloud computing system may be a difficult task.

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings illustrate various examples of the principles described herein and are a part of the specification. The illustrated examples are given merely for illustration, and do not limit the scope of the claims.

FIG. 1 is a block diagram of a blueprint, according to one example of the principles described herein.

FIG. 2 is a block diagram showing an architecture derived topology, according to one example of the principles described herein.

FIG. 3 depicts a block diagram showing a functional overview of a topology-based management broker for designing, provisioning, deploying, monitoring, and managing a cloud service, according to one example of the principles described herein.

FIG. 4 depicts a block diagram showing a functional overview of a topology-based management broker for designing, provisioning, deploying, monitoring, and managing a cloud service, according to one example of the principles described herein.

FIGS. 5A and 5B are block diagrams of an execution flow of the execution of a topology using provisioning policies, according to one example of the principles described herein.

FIGS. 6A and 6B are flowcharts showing a method for brokering a cloud service, according to one example of the principles described herein.

FIG. 7 is a flowchart showing a method for brokering a cloud service, according to another example of the principles described herein.

FIG. 8 is a flowchart showing a method for remediating a number of incidents within a cloud service, according to one example of the principles described herein.

FIG. 9 is a flowchart showing a method of designing a topology, according to one example of the principles described herein.

FIG. 10 is a flowchart showing a method for facilitating autonomous computing within a cloud service, according to one example of the principles described herein.

FIG. 11 is a diagram of a system for facilitating autonomous computing within a cloud service, according to one example of the principles described herein.

FIG. 12 is a diagram of a system for facilitating autonomous remediation within a cloud service, according to one example of the principles described herein.

Throughout the drawings, identical reference numbers designate similar, but not necessarily identical, elements.

DETAILED DESCRIPTION

Cloud computing provides services for a user's data, software, and computation. Applications deployed on resources within the cloud service may be manually deployed. This manual deployment consumes considerable administrative time. The manual steps of deploying an application may include the provisioning and instantiation of the infrastructure. This may include linking the installation of an application or a platform such as middleware and DB+ applications or deployment of an image with or without the full knowledge of the deployed infrastructure. Manual deployment may further include numerous sequences of steps launched by a user who attempts to deploy the application. Thus, the manual linking of an application to a deployed infrastructure consumes large amounts of computing and personnel resources, and may lead to mistakes and irreconcilable issues between the application and the underlying infrastructure. Linking of an application to a deployed infrastructure may be automated with a number of tools, scripts, and executables, with orchestrators automating the sequence of execution of these processes. A number of devices used in the designing, provisioning, deploying, and maintaining of applications deployed on resources within the cloud service may include data centers, private clouds, public clouds, managed clouds, hybrid clouds, and combinations thereof.

More specifically, cloud services provided to users over a network may be designed, provisioned, deployed, and managed using a cloud service manager. The cloud service provider or other entity or individual designs, provisions, deploys, and manages such a cloud service that appropriately consists of a number of services, applications, platforms, or infrastructure capabilities deployed, executed, and managed in a cloud environment. These designs may then be offered to user who may order, request, and subscribe to them from a catalog via a market place or via an API call, and then manage the lifecycles of a cloud service deployed based on the designs through the same mechanism. The service designs in a cloud service manager such as CLOUD SERVICE AUTOMATION (CSA 3.2) designed and distributed by Hewlett Packard Corporation, described in more detail below, are expressed with “blueprints.”

Blueprints describe services in terms of the collections of workflows that are to be executed to provision or manage all the components that make up the service in order to perform a particular lifecycle management action. Some of the functions of the workflows defined by blueprints are actual life cycle management actions that are then performed as calls to a resource provider. The resource provider converts the calls into well formed and exchanged instructions specific to the particular resource or instance offered by a resource provider.

FIG. 1 is a block diagram of a blueprint (100), according to one example of the principles described herein. Each object (102-1, 102-2, 102-3, 102-4, 102-5, 102-6, 102-7, 102-8, 102-9, 102-10, 102-11, 102-12) in the blueprint may be associated with action workflows that call resource providers. A number of challenges exist with a blueprint (100) approach to designing, provisioning, deploying, and managing cloud services. The structure of a blueprint, while consisting of objects comprising properties and actions linked by relationships, do not identify relationships to physical topologies such as, for example, the actual physical architecture of the system that supports the cloud service. This renders it difficult to associate additional metadata with the blueprints (100) to describe, for example, policies associated with the system. Further, this association of policies with nodes in a blueprint (100) is not intuitive for a designer or administrator of the to-be-deployed cloud service.

Further, the structures of blueprints (100), for the same reason, are difficult to use as models of applications or templates of infrastructures as CONTINUOUS DELIVERY AUTOMATION (CDA) does. CDA is system tool utilized within a topology designer that independently models infrastructure and application requirements while managing versions, configurations, and other application components. CDA 1.2 is also developed and distributed by Hewlett Packard Corporation. The structures of blueprints (100), for the same reason given above, are difficult to use as models of applications because blueprints do not describe the architecture of the application. Further, blueprints are difficult to use as templates of an infrastructure because they also do not describe the architecture of the infrastructure. As a result, systems aiming at modeling application models and infrastructure or platform templates, and mapping the application models and infrastructure or platform templates to each other are not easily reconciled with the blueprints because they are based on different methods of modeling these services.

The present systems and methods describe architecture-descriptive topologies that define the physical architecture of a system that constitutes a cloud service. FIG. 2 is a block diagram showing an architecture derived topology (200), according to one example of the principles described herein. As depicted in FIG. 2, the architecture derived topology (200) may comprise a number of nodes (201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215) associated with one another. Associations between nodes within the topology (200) are indicated by the open arrows. A number of nodes (201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215) within the topology (200) may also be aggregated with one another as designated by the filled arrows. Aggregation is a computing term used to describe combining (aggregating) multiple network connections in parallel to increase throughput beyond what a single connection could sustain, and to provide redundancy in case one of the links fails.

For example, the load balancer (201), web server service (202), application enterprise archive (203), and the database (204) are associated with one another. The web server service (202) is aggregated with a web virtual machine (205) and its security group (213) as well as a web virtual local area network (209). Similarly, the application enterprise archive (203) is aggregated with an application server service such as the JavaBeans Open Source Software Application Server (JBoss) service (206), a JBoss virtual machine (208) and its associated security group (214), and a secure application virtual local area network (210). Again, similarly, the database (204) is associated with a database virtual machine (207) and its security group (215), and a secure database virtual local area network (211). The web virtual local area network (209), secure application virtual local area network (210), and secure database virtual local area network (211) are then associated with a router (212).

Thus, a cloud service based on an instantiation of the architecture derived topology (200) may be expressed as a topology of nodes with a number of relationships defined between a number of nodes within the topology. A number of properties and actions are associated with a number of the nodes, a number of groups of nodes, a portion of the topology, the topology as a whole, or combinations thereof. Further, a number of policies are associated with the number of the nodes, a number of groups of nodes, a portion of the topology, the topology as a whole, or combinations thereof. Still further, a number of lifecycle management actions (LCMAs) are associated with the number of the nodes, a number of groups of nodes, a portion of the topology, the topology as a whole, or combinations thereof.

Thus, the present systems and methods describe cloud service broker or manager that supports both topologies and blueprints while using the same lifecycle management engine. The lifecycle management engine supports lifecycle management of cloud services, and mapping of application models with infrastructure templates. The present systems and methods also describe a policy-based framework for managing the provisioning, deployment, monitoring, and remediation processes within a cloud service. Further, the present systems and methods provide support for usage models supported by CSA, CDA, and blueprints as will be described in more detail below.

The present systems and methods describe autonomous computing within a cloud service. More specifically, the present systems and methods describe a platform and programming model to support cloud services that self-manage, autonomously manage, or combinations thereof. The platform may include a broker and an applications program used to generate a service and establish self-management processes, autonomous management processes, or combinations thereof. As will be described below, autonomous computing may include self-provisioning, auto-provisioning, self-configuring, self-optimizing, self-monitoring, self-remediating, self-updating, auto-provisioning, auto-remediating, or combinations thereof among other life cycle management actions. Accordingly, the present systems and methods may describe a platform for generating a service that may self-manage or autonomously manage, and may setup self-management or autonomous management processes. As a result, there may be two mechanisms to achieve autonomous computing within a cloud service. First, self-managing and self-remediating applications and services where code is included within a service to execute the management process and autonomous management which performs operations based on policies. An instantiation of a cloud topology may be provided via a deployment process. Similarly, monitoring of nodes and remediation of incidents of the nodes may be provided for the instantiated topology as specified by the policies. An instantiated service may experience many complications over time. For example, an instantiated service may be overloaded to its own execution or due to the sharing of resources between multiple users. Other examples of complications include incorrect patches for the instantiated service and security attacks, among other complications. These complications are detected and then remediated. More specifically, the systems and methods described herein provide for self-configuration, self work management, self-remediation of incidents, among other self-management processes. In other words, the systems and methods described herein provide for self-management computing.

As used in the present specification and in the appended claims, the terms “autonomous computing,” “autonomic computing,” is meant to be understood broadly as the self-managing characteristics of distributed computing resources that adapt to unpredictable changes while hiding intrinsic complexity to users and operators. Self-management may include self-configuration, self-optimization, self-monitoring, self-remediation, auto-provisioning, auto-remediation, or combinations thereof.

As used in the present specification and in the appended claims, the term “broker” is meant to be understood broadly as any computing device or a collection of computing devices in a network of computing devices that manages the designing, provisioning, deployment of a topology within the cloud, and the maintenance and life cycle management of (an) instantiated service based on that topology.

As used in the present specification and in the appended claims, the term “cloud service” is meant to be understood broadly as any number of services provided over a number of computing devices that are connected through a real-time communication network. Cloud services may include services provided on a distributed system implementing distributed hardware and software resources. In one example, a cloud service may be any service offered on a private cloud, public cloud, managed cloud, hybrid cloud, or combinations thereof. In another example, a cloud service may be services provided on physically independent machines such as, for example, a data center.

As used in the present specification and in the appended claims, the term “hybrid cloud” is meant to be understood broadly as multiple unique computing clouds that are bound together to provide a number of cloud services.

Further, as used in the present specification and in the appended claims, the terms “node or “computing device” are meant to be understood broadly as any hardware device, virtual device, group of hardware devices, group of virtual devices, or combination thereof within a network. Nodes may include, for example, servers, switches, data processing devices, data storage devices, load balancers, routers, and virtual embodiments thereof, among many other types of hardware and virtual devices. Further, nodes may be representations of the above hardware and virtual devices before execution and instantiation of a topology of which the node is a part.

Still further, as used in the present specification and in the appended claims, the term “topology” is meant to be understood broadly as data representing a graph of nodes where branches between the nodes represent relationships between the nodes. The nodes may comprise any number of computing devices located within a network. Thus, the topology of the network may comprise the physical and logical layout of networked computing devices, and definitions of the relationships between the computing devices. A number of policies and lifecycle management actions (LCMA) may be associated with the topologies, portions of the topologies, nodes within the topologies, groups of nodes within the topologies, and combinations thereof.

Still further, as used in the present specification and in the appended claims, the term “blueprint” is meant to be understood broadly as an execution flow for allowing automation of cloud service deployment and life cycle management of cloud services. A blue print may include a functional description of a number of hardware and/or virtualized components included within a service such as, for example, operating systems, application stacks, databases. A blueprint may further include a functional description of the configuration and connectivity between the hardware and virtualized components. The blueprints may also include a number of deployment models to enable the functional description to be deployed. The blueprints may further include a set of user-configurable options to allow a user to configure a number of optional aspects of the deployed service. Blueprints are an example of non architecture derived executable topologies.

Still further, in addition to the blueprints described above, the present disclosure provides for the utilization of executable topologies. Thus, the present systems and methods provide for the execution and instantiation of both blueprint- and architecture-derived topologies. Both blueprint- and architecture-derived topologies are executable. Thus, as used in the present specification and in the appended claims, the term “topology” is meant to be understood broadly as any set of executable logic or interpretable logic that may be expressed as executable logic that defines the characteristics of the network to be instantiated. The topology may define a number of nodes. Further, the topology may define and a number of policies and lifecycle management actions associated with the nodes as a number of groups, individually, or a combination thereof. In one example, blueprints may be expressed as topologies. In this example, the blueprint-derived topologies may also define a number of nodes and a number of policies and lifecycle management actions associated with the nodes within the topologies, groups of nodes within the topologies, portions of the topologies, the topology as a whole, and combinations thereof.

Still further, as used in the present specification and in the appended claims, the term “policy” is meant to be understood broadly as any data or metadata used to assist in the management of the provisioning, deploying, monitoring, enforcement, and remediation within a cloud service. The policies may represent a number of rules or sets of rules that are applicable to the provisioning, deploying, monitoring, enforcement, and remediation tasks associated with a number of computing devices within a cloud service environment.

Still further, as used in the present specification and in the appended claims, the term “user” is meant to be understood broadly as any individual or entity for whom or by whom a cloud service is designed, provisioned, deployed, monitored, policy enforced, incident remediated, otherwise managed, or combinations thereof. In one example, the user may purchase use of the cloud service at a cost. For example, the user may pay a subscription to use the cloud resources and services, and, in this case, also be classified as a subscriber. In another example, a user may be a designer or administrator of the cloud service. In still another example, a user may be any individual who manages the cloud service.

Even still further, as used in the present specification and in the appended claims, the term “a number of” or similar language is meant to be understood broadly as any positive number comprising 1 to infinity; zero not being a number, but the absence of a number.

In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the present systems and methods. It will be apparent, however, to one skilled in the art that the present apparatus, systems, and methods may be practiced without these specific details. Reference in the specification to “an example” or similar language means that a particular feature, structure, or characteristic described in connection with that example is included as described, but may not be included in other examples.

The present systems may be utilized in any data processing scenario including, for example, within a network including the design, provisioning, deployment, and management of a number of computing devices within the network. For example, the present systems may be utilized in a cloud computing scenario where a number of computing devices, real or virtual, are designed, provisioned, deployed, and managed within a service-oriented network. In another example, the present systems may be utilized in a stand alone data center or a data center within a cloud computing scenario. The service oriented network may comprise, for example, the following: a Software as a Service (SaaS) hosting a number of applications; a Platform as a Service (PaaS) hosting a computing platform comprising, for example, operating systems, hardware, and storage, among others; an Infrastructure as a Service (IaaS) hosting equipment such as, for example, servers, storage components, network, and components, among others; application program interface (API) as a service (APIaaS), other forms of cloud services, or combinations thereof. The present systems may be implemented on one or multiple hardware platforms, in which the modules in the system are executed on one or across multiple platforms. Such modules may run on various forms of cloud technologies and hybrid cloud technologies or offered as a SaaS (Software as a service) that may be implemented on or off the cloud.

Further, the present systems may be used in a public cloud network, a private cloud network, a hybrid cloud network, other forms of networks, or combinations thereof. In one example, the methods provided by the present systems are provided as a service over a network by, for example, a third party. In another example, the methods provided by the present systems are executed by a local administrator. In still another example, the present systems may be utilized within a single computing device. In this data processing scenario, a single computing device may utilize the devices and associated methods described herein to deploy cloud services and manage life cycles of the cloud services. In the above examples, the design of the cloud service, provisioning of a number of computing devices and associated software within the cloud service, deployment of the designed and provisioned cloud resources and services, management of the cloud resources and services, and combinations thereof may be provided as the service.

Aspects of the present disclosure may be embodied as a system, method, or computer program product, and may take the form of an entirely hardware embodiment, or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects of the present disclosure may take the form of a computer program product embodied in a number of computer readable mediums comprising computer readable program code embodied thereon. Any combination of one or more computer readable mediums may be utilized.

A computer readable medium may be a computer readable storage medium in contrast to a computer readable signal medium. A computer readable storage medium may be, for example, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the computer readable storage medium may include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.

Throughout the present disclosure, various computing devices are described. The computing devices may comprise real or virtual computing elements including data processing devices, data storage devices, and data communication devices. Although these various devices may be described in connection with real and physical devices, any number of the devices may be virtual devices. The virtual devices, although describing a software-based computer that is based on specifications of emulated computer architecture and functions of a real world computer, the virtual devices comprise or are functionally connected to a number of associated hardware devices. Accordingly, aspects of the present disclosure may be implemented by hardware elements, software elements (including firmware, resident software, micro-code, etc.), or a combination of hardware and software elements.

In some examples, self-configuration may refer to the characteristic of an application to deploy itself and configure itself based on an indication or instruction to “deploy.” For example, a topology may be associated with a number of policies that govern deployment and configuration. In another example, the topology may include provisioning logic that governs deployment and configuration of an application. Because the logic, policies, or combinations thereof are packaged with the topology, they can be self-deployed by a cloud management system. Such self-configuration may include executing a workflow where the actions call a number of application programming interfaces (APIs) of a cloud environment to provide a service.

In some examples, an application may be auto-provisioned. For example, an application (which may include executables, a topology, and policies associated with the topology) may be selected to be instantiated as a service. The policies may include policies that describe monitoring, event handling, incident handling and remediation topologies. The policies may be passed to a platform such as the system described in connection with FIGS. 3 and 4 to be deployed. A provisioning policy may be an input to a provisioning policy engine that may evaluate provisioning policies including capabilities and requirements with context information and resource provider policies to determine which resource provider to use to perform LCMAs.

In another example, an application may be self-provisioned. In this example, APIs may be used, and built on the systems of FIGS. 3 and 4. The APIs pass executables, or installable artifacts, topologies, and policies to have the system provision and optimize the service.

FIGS. 3 and 4 depict a block diagram of a topology-based management broker (300) along with a designing phase for provisioning, deploying, monitoring, protecting and remediating a cloud service, according to one example of the principles described herein. The system of FIGS. 3 and 4 support both topologies and blueprints while using the same lifecycle management engine as will be described in more detail below.

In one example, topologies (302) may be generated by designing a topology (302) de novo via a number of topology designers (301). In this example, a topology (302) may be designed to include a number of provisioning policies (303). The system (300) and the topology (302) may define a particular way to instantiate the service (312). Accordingly, the instantiated service (312) may be self-configuring during provisioning of the instantiated service (312).

In another example, the topology (302) may be generated by stitching a number of applications models (319) and a number of infrastructure templates (320) together using a number of stitching methods. In this example, the system (300) and the application models (319) with corresponding capability policies, requirements policies, and provisioning policies may self-select the best infrastructure template (320) for the topology (302). In this example, the topology (302) may be self-designing. The topology (302) may then self-configure, or define a particular way to instantiate the service (312) as described above.

In addition to being self-configuring, an application may be self-healing. Self-healing may refer to a service's (312) or an application's ability to monitor itself and self-remediate incidents generated based on collected data such as metrics. In some examples, self-healing may include monitoring and remediating in accordance with policies (303) included in a topology (302). In another example, self-healing may include executing remediation logic and monitoring logic included in the topology (302) itself.

As depicted in FIGS. 3 and 4, one or a number of topology designers (301) contribute in designing various aspects of the cloud service topology. In one example, topology design is performed via a design tool that uses hardware devices and software modules such as graphical user interfaces (GUI) and coding scripts. A human designer designs the topology with the use of a design tool (301). Thus, the design of the topology (302) is achieved through a combination of autonomous and human-provided design methods. In one example, the topology designer (301) may be an interface utilizing API's that enables separate creation of an application model (FIG. 4, 319) and its associated components along with creation of an infrastructure template (FIG. 4, 320) which specifies infrastructure and lifecycle conditions for the infrastructure.

The subsystem depicted in FIG. 3 of the overall topology-based management broker (200) comprises a subsystem capable of provisioning, deploying, monitoring, enforcing policies within a cloud service, and remediating incidents within the cloud service. These tasks are all performed with the use of topologies with LCMAs and policies, whether the topologies are blueprint or architecture derived. Thus, the present systems and associated methods also support all the use cases that CSA 3.2 supports. As described above, CSA 3.2 is an automation system tool used to deploy and manage cloud computing applications, and is developed and distributed by Hewlett Packard Corporation. CSA 3.2 technologies are capable of supporting blueprints or architecture topologies. Further, CSA is described in International Patent App. Pub. No. PCT/US2012/045429, entitled “Managing a Hybrid Cloud Service,” to Maes, which is hereby incorporated by reference in its entirety. As will be described in more detail below, the subsystem depicted in FIG. 3 uses a number of types of policies and lifecycle management actions (LCMAs) to provision, deploy, monitor, enforce policies within, and remediate incidents within a deployed cloud service.

Further, the subsystem depicted in FIG. 4 of the overall topology-based management broker (200) comprises a subsystem capable of independently modeling infrastructure and application requirements of a topology on the same stack as the subsystem depicted in FIG. 3. The present systems and associated methods also support all the use cases that a CDA subsystem such as those use cases of CDA 1.2 support. As described above, CDA is an automation system tool utilized within a topology designer that independently models infrastructure and application requirements while managing versions, configurations, and other application components. CDA 1.2 is also developed and distributed by Hewlett Packard Corporation. Further, CDA is described in International Patent App. Pub. No. PCT/US2012/041625, entitled “Cloud Application Deployment,” to Maes, which is hereby incorporated by reference in its entirety.

In this manner, the subsystems of FIGS. 3 and 4 work under a common stack and work together within the topology-based management broker (200) as a single computing system with common use of topologies, realized topologies, and policies to support all use cases of constructing topologies and supporting multiple providers' associated technologies. Thus, in one example, the present systems and methods reconcile the differing models, templates, and blueprints used respectively by CDA and CSA by utilizing, on the same stack, designed topologies (preferably architecture derived) of a cloud service, a number of policies, and a number of LCMAs associated with the topology nodes/subsets/full.

As depicted in FIG. 3, a topology designer (301) may design and present a lifecycle management (LCM) topology (302) to the topology-based management broker (200). In one example, the topology designers (301) described herein may be an integrated part of the topology-based management broker (200). In another example, the topology designers (301) may be separate from the topology-based management broker (200). In another example, a number of persons may use the topology designers (301) to design the topologies (302). These individuals may be service designers, infrastructure architects or administrators, system administrators, information technology operators, offer managers, or users, among other personnel with roles in the design of a topology. In still another example, the topology designers (301) may be operated by a third party.

The LCM topology (302) may define a number of nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7), and a number of relationships between the nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7). Although in FIG. 3, seven nodes are depicted, any number of nodes may be designed into the topology (302) to achieve any data processing objectives. In one example, the topology-based management broker (200) may represent the topology (302) as an extensible markup language (XML) file. In another example, the topology-based management broker (200) may represent the topology (302) in JavaScript object notation (JSON) format; a text-based open standard designed for human-readable data interchange that is derived from the JavaScript scripting language for representing objects. In still another example, the topology-based management broker (200) may represent the topology (302) in YAML syntax format; a human-readable data serialization format.

In FIG. 3, the relationships between nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7) are depicted as lines connecting the nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7). Each of the nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7), the entire topology (302), a group of nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7), portions of the topology (302), or combinations thereof are associated with a number of policies (303). Policies (303) are data or metadata provided in the same file describing the nodes or topology, or in a file associated therewith. In one example, the association of the policies (303) within the topology (302) may be performed during the designing of the topology (302), by, for example, an administrator when offering the design. In another example, the association of the policies (303) within the topology (302) may be performed during the designing of the topology (302) when a user, for example, selects the design as a subscription or request.

Further, in one example, the addition of a policy (303) to the topology or portions thereof may cause the design of the topology to change. In this example, a policy (303) added to an element of the topology (302) may effect a number of other policies. For example, associating with a topology (302) a policy that indicates that a node be highly available may evolve the policies (303) and topology (302) as a whole to require, for example, a cluster of nodes. In this manner, policies may drive the design of the topology (302).

Each of the nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7), the entire topology (302), a group of nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7), portions of the topology (302), or combinations thereof are further associated with a number of lifecycle management actions (LCMAs) (304). In examples where LCMAs (304) are associated with the nodes, a single LCMA is associated with a given node. In examples where a number of LCMAs are associated with portions of the topology (302) or the topology (302) as a whole, the LCMAs are subjected to an orchestration of resource providers.

LCMAs are expressed as a number of application programming interfaces (APIs), wherein the LCMAs are called during execution of the topology (302), and a number of computing resources are provisioned for purposes of managing the lifecycle of a given cloud capability. In one example, the LCMAs may be accessed via uniform resource identifiers (URIs) of application programming interfaces (APIs) to perform calls in order to execute the APIs. In one example, the LCMAs are provided by reference within the file comprising the data or metadata described above in connection with the policies (303).

In one example, the LCMAs are associated with the aspects of the topology by default by virtue of what computing device the node or nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7) represent. In another example, the LCMAs are associated with the aspects of the topology by explicitly providing a number of functions, F_(action), that define how to select a resource provider to implement the action based on the policies associated with the aspects of the topology and the policies of the different relevant resource providers. These functions define how a resource provider is selected to implement the action based on the policies associated with the aspect of the topology and the policies of the different relevant resource providers.

The policies and LCMAs will be denoted herein by elements 303 and 304, respectively, to denote that the policies (303) and LCMAs (304) are associated with the nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7), the entire topology (302), a group of nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7), portions of the topology (302), or combinations thereof. In one example, the association of the policies and LCMAs with aspects of the topology is performed via the topology designer (301).

In one example, although not depicted, a subset of nodes making up a group may also be associated with a number of policies (303) and a number of LCMAs (304). In this example, a number of nodes, for example, nodes (302-2, 302-3, 302-4, 302-6, 302-7), may be associated as a group with a number of policies (303) and a number of LCMAs (304) associated therewith. Several groupings of the nodes may be present within the entire topology (302). In one example, the groups of nodes may overlap, in which a single node in a first group of nodes may also belong to a second group of nodes, and be subjected to both the first and second groups of nodes' policies (303) and LCMAs (304). Policies and their associations with individual nodes and groups of nodes will be described in more detail below.

The policies (303) associated with the nodes may be expressed and attached with the nodes in any manner (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7). In one example, the policies (303) are associated with the nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7) by defining properties of the nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7). In another example, the policies (303) are associated with the nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7) by metalanguage expressions.

The policies (303) are a number of descriptions, metadata, workflows, scripts, rules, or sets of rules that are applicable to guiding the provisioning, monitoring, enforcement, governance, and remediation tasks associated with the lifecycle management of a number of nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7) within a cloud service environment in which the topology (302) is to be or has been implemented. The policies (303) define the access control and usage control of the APIs of the topology-based management broker (200). Further, policies (303) define the access control and usage control of the APIs used to manage or use the instantiated services. For example, when a security threat is detected by a monitoring system (313), a remediation option may comprise making changes to a number of access control policies.

The policies (303) may be associated with and operable against a number of individual nodes, a number of groups of nodes, a number of nodes of a class of nodes, a subset of the nodes within the entire topology of the cloud service; the entire topology of the cloud service as a whole, or combinations thereof. If the policies (303) are initiated on the individual nodes, groups of nodes, or the entire topology of the cloud service as a whole, the policies will guide how life cycle management actions are taken with respect to, or performed on the individual nodes, groups of nodes, nodes of a class of nodes, a subset of the nodes within the entire topology of the cloud service, or the entire topology of the cloud service as a whole.

On example of a type of policy is a provisioning policy. Provisioning policies may, if implemented, define the characteristics of the computing devices that comprise the cloud when the topology is provisioned, deployed, and executed. This provisioning can include the infrastructure and platform of the topology (302). The provisioning policies may include definitions of characteristics such as, for example, the physical location of a node. Provisioning policies may also include definitions of characteristics such as, for example, a geographical or deployment type location such as a network zone with or without access to an internet or behind or not behind a firewall, among other geographical or deployment type provisioning policies. In this example, a policy may have a provisioning policy component that may be associated with a server device that requires the server device to be located in a particular geographic area of a country, a particular region such as, for example, the east coast of the United States versus the west Coast, a particular server facility, or any other geographic location.

As to a provisioning policy that defines a physical location of the computing device, other characteristics may include, for example, the level of security of the location or access to the internet at which the node is located. Other provisioning policies may also include, for example, the speed in, for example, bandwidth of the network to which the node is coupled, whether the node is to be connected to an internet or intranet such as, for example, a demilitarized zone (DMZ) or perimeter network, whether the node is firewalled, whether the node has access to an internet, whether the node is to be located on top of another node, and whether the node is to be located on top of another node using a particular infrastructure element or platform, among other provisioning policies.

Provisioning policies may also, if implemented, rely on the requirements and capabilities of the nodes within the proposed cloud service that is based on the topology (302). Requirements define the needs of nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7) such as, for example, server or network needs in relation to processing, memory, and operating system (OS) needs, among other forms of needs. For example, the requirements policies may indicate that a node requires particular software or a particular software version associated with it such as a particular operating system. As another example, a requirements policy may also indicate that a particular node may require additional hardware devices associated with it such as, for example, a server device, a server group, or a high availability configuration, among others.

Capabilities such as the nature of the processors, memory, capacity, OS, middleware type and version, among others, define what each node (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7) offers. Thus, in one example, capabilities policies may indicate that a node is capable of processing data at a certain rate. In another example, a capabilities policy may indicate that a memory device may have a terabyte (TB) of data storage space.

In still another example, the requirements policies may indicate that a node requires a particular computing platform. When designing a topology (302), the topology or association of metadata supports capturing data defining a number of hardware devices within the computing platform including hardware architecture and a software framework (including application frameworks). When the metadata is presented or associated, it is used to guide provisioning policies in order to better select appropriate elements within the computing platform such as, for example, a suitable data center. The metadata, when presented or associated, may also be used to guide matching fragments of topologies to other fragments as will be discussed in more detail below in connection with stitching of application models to infrastructure templates.

With regard to capability policies, the nodes may define what kind of device they are, what versions of software they capable of, or are executing, and what they can do. An example, of a capability policy may include a definition associated with the node that defines it as an application server, that it provides a Java Platform, Enterprise Edition (J2EE) environment, that it runs a particular operating system, a version of an operating system, or a particular release of a version of the operating system, among many other capabilities. As described above, this may be used to determine, for example, what else may be deployed or what other devices may use the cloud services.

Another type of policy (303) that may be assigned includes monitoring policies. Monitoring policies are policies that, if implemented, define the operational monitoring of the nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7), the security monitoring of the nodes, the compliance monitoring of the nodes, analytics among the nodes and groups of nodes, usage monitoring of the nodes, performance monitoring, and intelligence monitoring such as, for example, collection of metrics, business intelligence (BI) and business activity monitoring (BAM) and analytics/big data integration, among other types monitoring-related policies.

The monitoring policies may also define what kind of monitoring is expected and how the monitoring is to be implemented. Examples of monitoring policies regarding node operations include performance, monitoring CPU levels and loads of the various nodes within the network, monitoring the speed at which data is processed through a node or a number of nodes or exchanged between nodes, and monitoring the operational state of applications running on a node or nodes at any level of the network, among many other operations parameters of the nodes, group of nodes, and the cloud service as a whole.

In another example, the monitoring policies also define how monitored events that occur in an instantiated topology are handled. In this example, the monitoring policies assist an event handler (316) in receiving and processing the events, and in making decisions regarding remediation of incidents resulting from the events, and in sending notification messages regarding the incidents. The handling of events within the topology-based management broker (200) will be described in more detail below. As will be described in more detail below, the monitoring policies include a portion that defines what to do with the monitored events that result from the monitoring such as, for example, how to handled the events, where the events are sent, what devices or individuals address the events, how incidents resulting from the processing of the events are handled, how the events and incidents are processed (e.g., processed as aggregated, filtered, or correlated events, among other forms of processing), and how the resulting incidents are handled.

Monitoring policies also include monitoring policies regarding security. Security policies define how to monitor for abnormal behaviors or behaviors known as being associated with known or suspected security issues. Examples of monitoring policies regarding security include monitoring whether a node or a group of nodes is experiencing an attack, whether there is strange behavior occurring within the cloud service or interactions with the cloud service, and whether there is a virus or other anomaly with a node or group of nodes, among other security-related monitoring policies.

Monitoring policies also include monitoring policies regarding compliance. Examples of monitoring policies regarding compliance include, determinations as to whether the nodes or group of nodes are running an appropriate version of an operating system, determining whether the most recent patch associated with the release of a software program running on the nodes has been installed, determining if an installed patch is a correct patch, checking that a code or artifacts that have been used to provision the node and cloud service have been appropriately checked and vetted for any weakness or problem, if governance and access control to the node and cloud service or the node and cloud service management is appropriate, and if settings of a provisioned system match provisioning, security, or other compliance requirements such as correct logging levels, correct setup for access controls, and correct setup for passwords, among other compliance-related monitoring policies.

Monitoring policies also include monitoring policies regarding usage. Examples of monitoring policies regarding usage include, determining how much a user has been using CPUs of a node or group of nodes, determining how much memory a user has utilized, determining how much money has been charged to the user, and determining whether the user has paid for the services provide through the designing, provisioning, deploying, and monitoring of the network topology, among other usage-related monitoring policies.

The policies (303) may further comprise governance policies that, if implemented, define access controls of nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7) or groups of nodes within the topology (302) or the cloud service. For example, governance policies may include policies that define who may access the nodes within the topology (302) or the cloud service, and under what conditions may those individuals obtain such access.

The policies (303) may further comprise analytics policies that, if implemented, define what is needed to ensure analytics and big data monitoring within or among the nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7) or groups of nodes within the topology (302), and ensure that this is occurring as expected. For example, the analytics policies may define a number of workflows by which the monitoring system (313) may operate to configure the cloud service, provide analytics, collect big data, and process the data.

Still further, the policies (303) may comprise remediation policies that define what actions are to take place within the topology (302) should a problem arise or an incident be raised during deployment and execution of the topology (302). Remediation policies may include policies that define a number of actions taken by the topology-based management broker (200) during remediation processes, and include: (1) providing notifications to a user, consumer, or administrator; (2) obtaining instructions from the user, consumer, or administrator; (3) taking manual actions input by the user, consumer, or administrator; (4) taking autonomous actions after receiving instructions from the user, consumer, or administrator; (5) taking autonomous actions without receiving instructions from the user, consumer, or administrator; (6) taking autonomous actions without notifying the user, consumer, or administrator or receiving instructions from the user, consumer, or administrator; (7) proposing a remediation action to a user or administrator for approval, and performing the proposed remediation action if approved by the user or administrator, or combinations thereof.

As an example, a failure of the cloud service as instantiated or realized by the topology (302) may occur, and the remediation policies may define how that failure may be handled based on the above potential scenarios. In addition, the remediation policies provide the actual rules and workflows of actions to perform to remediate the incidents under any number of conditions or indicate to whom or which device to delegate the decision making and orchestration and fulfillment of these remediation actions. Another remediation example may regard a potential need to maintain a level of service based on, for example, a service level agreement (SLA), or a quality of service (QoS) within the cloud service that is realized based on the topology (302). In this example, the addition of resources to support the increase in demand for resources may be handled based on the above potential scenarios. More details regarding monitoring of the deployed topology and event handling therein will be described in more detail below.

As described above, the nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7) may include a number of lifecycle management actions (LCMA) (304) associated with the nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7). The LCMAs (304) are a number of actions associated with the policies (303) that are executed by a processor when triggered by the policies (303) within a cloud service environment in which the topology (302) is implemented. The LCMAs may be associated with and operable against a number of individual nodes, a number of groups of nodes, a number of nodes of a class of nodes, a subset of the nodes within the entire topology of the cloud service; the entire topology of the cloud service as a whole, or combinations thereof. If the LCMAs are executed with respect to the individual nodes, groups of nodes, or the entire topology of the cloud services as a whole, the LCMAs will take an action with respect to the individual nodes, groups of nodes, the nodes of a class of nodes, a subset of the nodes within the entire topology of the cloud service, or the entire topology of the cloud service as a whole as defined within the LCMAs. LCMAs (304) include actions such as, for example, provisioning of computing resources within the topology, updating the topology, copying all or portions of the topology, modifying computing resources within the topology, moving computing resources within the topology, destroying or deleting resources within the topology, among other lifecycle management actions.

The various policies described herein define what actions are to be performed throughout the lifecycle of the topology (302) before, during, and after instantiation of a service based on the topology (302). Further, the various policies described herein define how these actions are to be performed. Still further, the various policies described herein define which device, individual, or combination thereof to which the actions are to be delegated. Even still further, the various policies described herein define combinations of the above. For example, any of the monitoring policies used in event handling and processing, or remediation may define what devices or portions of the cloud service are to be monitored or remediated, how to execute such monitoring and remediation, to whom or what devices to delegate the roles of monitoring and remediation, or a combination thereof.

Different policies play different roles at different times within the lifecycle of a topology. Further, the different policies may be executed at different times of the lifecycle of the cloud service and throughout the flows of the topology-based management broker (200). FIG. 5A is a block diagram of an execution flow of the execution of a topology (302) using provisioning policies, according to one example of the principles described herein. In the example of provisioning policies with their number of capabilities and requirements, a topology (302) may be designed with a number of associated policies (303) as described above. As depicted in FIG. 5A, the topology (302) with its associated policies (303) may be an input (501) to a provisioning policy engine (502). In one example, the topology (302) may be an architecture based topology. A policy provisioning engine (502) may be a stand alone device or incorporated into a device of FIG. 1A such as, for example, the resource offering manager (308). The policy provisioning engine (502) may obtain a number of provisioning policies from a resource provider called resource provider policies (PR) (308-1), a number of provisioning policies as defined by a user, a number of policies as defined by the topology designer (301), or combinations thereof.

Resource provider policies (308-1) may be any policies that associated with a number of resource providers' offerings that guide the selection of a number of resources. In one example, the resource provider policies (308-1) may be dynamic functions that define the computing abilities of a computing resource. In this example, a computing resource that provides a defined level of computing resources such as, for example, processing power may be provisioned by the LCM engine (311) and resource offering manager (308) if the defined level of that computing resource meets a number of requirements within the topology (302).

Further, in one example, the addition of a policy (303, 308-1) to the topology or portions thereof may cause the design of the topology to change. In this example, a policy (303, 308-1) added to an element of the topology (302) may effect a number of other policies (303, 308-1). For example, associating with a topology (302) a policy that indicates that a node be highly available may evolve the policies (303) and topology (302) as a whole to require, for example, a cluster of nodes. In this manner, policies may drive the design of the topology (302).

Accordingly, a designed topology such as, for example, an architecture topology generated, for example, by an automated or manual matching process with policies and LCMAs associated with the nodes of the topology (302) is modified at the time of provisioning. This may be performed by executing, with the provisioning policy engine (502) or the resource offering manager (308), the provisioning policies to determine a topology that satisfies the provisioning policies perfectly or in the best obtainable manner. Obtaining a best fit topology may involve a number of resource provider policies (308-1) provided by the resource offering manager (308) which describe the capabilities and selection criteria of a resource provider. The resource offering manager (308) selects, for example, the resource provider from which the resource is to be obtained, and may also make other modifications to the topology (302).

The topology (302) is modified per the received provisioning policies (308-1) by the provisioning policy engine (502) as indicated by arrow 507, and sent to an interpreter (503). The interpreter (503) is any hardware device or a combination of hardware and software that interprets the provisioning policies to create an execution plan as indicted by arrow 508. The result is then interpreted and converted into an execution plan (508) that comprises a workflow or sequence of serial and/or parallel scripts in order to create an instance of the topology (FIG. 1A, 312). In one example, the interpreter (503) is a stand alone device or is contained within the LCM engine (FIG. 1A, 311). The execution plan (508) comprises a number of workflows or sequences of serial and/or parallel scripts. The topology LCM engine (311) obtains the workflows or sequences of serial and/or parallel scripts, calls a resource provider via the resource offering manager (308) as indicated by arrow 509, and creates an instantiated service (312) at block 505. Assuming the workflow or sequence of serial and/or parallel scripts is executable, which it should be in the case of an architecture descriptive topology, the actions associated with the workflow or sequence of serial and/or parallel scripts are executed by the LCM engine (311).

With the above-described sequence based topology, an execution plan (508) may be represented as a blueprint. Conversely, a blueprint may be expressed as an execution plan (508). A blueprint with nodes expanded by policies (303) and LCMAs (304) may be similarly processed, instead, in a manner similar to the processing of an infrastructure topology. In this example, the blueprint in the form of a sequential service design (506) is input to the interpreter for processing as described above in connection with FIG. 5A.

The execution of the execution plan (508) by the topology life cycle management engine (311) results in an instantiation of the cloud services including the provisioning of devices for monitoring, event handling, and processing and remediation of events and incidents as will be described in more detail below. The result of the topology life cycle management engine (311) executing the workflow or sequence of serial and/or parallel scripts as defined by the execution plan (508) is an instantiated service (312) as indicated by block 505. Further, a realized topology (314) may be created based on the instantiated service (312), and stored as will also be described in more detail below.

As to the monitoring and remediation policies described herein, the same type of process may be applied, but with a number of realized policies defined within an instantiated service (312) and its realized topology (314) as input. In this process, additional LCMAs (304) may be created and used to assist in provisioning resources in an updated instantiated service (312). The explanation below across CSA/CDA use cases with architecture topologies or with blueprints shows the notion of common engine, pattern, and platform across all these cases.

FIG. 5B is a block diagram of an execution flow of the execution of a realized topology using provisioning policies, according to one example of the principles described herein. In this example, the application may be described as a realized topology, after which the application is self-managing. As depicted in FIG. 5B, a realized topology (511) or other desired or target realized topology (512) may be inputs into a realized topology engine (513). The realized topology engine (513) may be a stand alone device or incorporated into a device of FIG. 1. Similarly, as depicted in FIG. 5B, the realized topology (and corresponding topology changes received from the LCM engine (311)) may be an input into a provisioning policy engine (502). The policy provisioning engine (502) may obtain a number of provisioning policies from a resource provider called resource provider policies (PR) (308-1), a number of provisioning policies as defined by a user, a number of policies as defined by the topology designer (301), or combinations thereof.

Resource provider policies (308-1) may be any policies that are associated with a number of resource providers' offerings that guide the selection of a number of resources. In one example, the resource provider policies (308-1) may be dynamic functions that define the computing abilities of a computing resource. In this example, a computing resource that provides a defined level of computing resources such as, for example, processing power may be provisioned by the LCM engine (311) and resource offering manager (308) if the defined level of that computing resource meets a number of requirements within the topology (302).

In some examples, a realized topology is modified at the time of provisioning. This may be performed by executing, with the provisioning policy engine (502) or the resource offering manager (308), the provisioning policies to determine a topology that satisfies the provisioning policies perfectly or in the best obtainable manner. Obtaining a best fit topology may involve a number of resource provider policies (308-1) provided by the resource offering manager (308) which describe the capabilities and selection criteria of a resource provider. The resource offering manager (308) selects, for example, the resource provider from which the resource is to be obtained, and may also make other modifications to the topology (302).

The topology (302) is modified per the received provisioning policies (308-1) by the provisioning policy engine (502) as indicated by arrow 507, and sent to an interpreter (503). The interpreter (503) is any hardware device or a combination of hardware and software that interprets the provisioning policies to create an execution plan as indicted by arrow 508. In some examples, the execution plan (508) may include an indication as to whether the application is self-managing or auto-managing. For example, the execution plan (508) may include code within the application that carries out provisioning, remediation, event handling, or combinations thereof. Alternatively, the execution plan (508) may provision, remediate, handle events, or combinations thereof based on policies.

The result is then interpreted and converted into an execution plan (508) that comprises a workflow or sequence of serial and/or parallel scripts in order to create an instance of the topology (FIG. 1A, 312). In one example, the interpreter (503) is a stand alone device or is contained within the LCM engine (FIG. 1A, 311). The execution plan (508) comprises a number of workflows or sequences of serial and/or parallel scripts. In some examples, the execution plan (508) may modify, retire or instantiate a new instance.

The execution of the execution plan (508) by the topology life cycle management engine (311) results in an instantiation of the cloud services including the provisioning of devices for monitoring, event handling, and processing and remediation of events and incidents as will be described in more detail below. The topology LCM engine (311) may update a realized topology with policies and LCMAs as indicated by the arrow (514), which may be passed to the realized topology engine (513) to update a realized topology based on the policies and updates. The present systems and methods may be used in conjunction with any third party modeling such as, for example, HEAT command language interpreter that is an open source software developed and distributed by the OpenStack Foundation and released under the terms of the Apache License. Although HEAT may assist in the creation of a set of scripts fitting in the space of the execution plan, HEAT may provide support by interpreting or translating data, and converting the data into scripts. The present systems and methods may add the policies (303) and LCMAs (304) to the HEAT interpreter, and execute as described above.

Further, the present systems and methods may use topology and orchestration OASIS specification for cloud applications (TOSCA), a cloud computing standard to express topologies. In this example, the policies (303) and LCMAs (304) are added to a TOSCA-based topology.

Thus, the policies (303) and the LCMAs (304) may be implemented as function calls (305) or scripts in order to provision and deploy the topology (302) when the policies (303) and the LCMAs (304) trigger such provisioning and deployment. A resource offering manager (308) may be provided within the topology-based management broker (200) to manage and provide computing resources within the topology (302) based on the policies (302) and LCMAs (304).

The resource offering manager (308) provides a number of plug-ins to execute the life cycle manager (311). As described above, the resource offering manager (308) associates a number of resource policies (308-1) to the plug-ins of a number of resource providers so that the resource providers may assist in guiding the selection process of a number of the resource providers. The non-resource provider policies such as policies (103) associated to the nodes are different in that they are associated with the nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7) during the designing of a topology (302).

The resource offering manager (308) may be operated by, for example, an administrator, or a service provider in order to provision the resources within the cloud service to be created via the deployment of the topology (302). As discussed above, the resource offering manager (308) comprises the hardware and software to define a number of resource provider policies (308-1), associate a number of those resource provider policies (308-1) with a number of the nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7), the topology (302), or portions of the topology (302). When the topology (302) is deployed, the resource offering manager (308) provides the computing resources to the user that will implement the topology (302) based on the policies (303), the LCMAs (304), and the resource provider policies (308-1). As a result, the LCMAs are functions of the policies (303) associated with the topology (302), and the resource provider policies (308-1).

Thus, in one example, the resource offering manager (308) may implement a number of resource provider policies (308-1) that define under which conditions a computing resource from a number of service providers may be selected for deployment within the topology (302). In this example, the policies (303) associated with a node as well as the resource provider policies (308-1) define which resource offering from the resource offering manager (308) is selected for provisioning within the to-be-deployed instantiated topology (312). For example, if a policy associated with node (302-1) requires that the provisioned computing resource be located in a secure facility, and the policies of the resources offered by the resource offering manager (308) indicate that those available computing resources are not located in a secure facility, then that non-secure computing resource provided by that particular service provider will not be selected. In this manner, the policies associated with the nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7) and the policies associated with the resource offering manager (308) determine which computing resources may be provisioned and deployed within the topology (302).

The topology-based management broker (200) may store the topology (302) in a catalog (310). In one example, the topologies (302) designed and stored in the catalog (310) may be made available to any interested party via a self-service portal (309). In another example, an application program interface (API) may be provided instead of or in addition to the self-service portal (309). In this example, the API may be used by an application executing within the topology-based management broker (200) which may make a request from the catalog (310) for a number of topologies (302).

In another example, the user may be given the opportunity to view the catalog (310) of stored topologies to obtain a topology that was created for a first user or organization, and use a number of those topologies as the user's topology by ordering or subscribing to a topology (302). In still another example, the user may be given the opportunity to view the catalog (310) of stored topologies to obtain a topology that was created for a first user or organization, obtain a number of those topologies, and add a number of other topologies to it such as in an example where an application model is built on an infrastructure template using stitching processes described below.

In still another example, the user may be given the opportunity to view the catalog (310) of stored topologies to obtain topologies that were created for a first user or organization, obtain a number of those topologies, and add a number of other topologies to it such as topologies designed de novo or stored within the catalog (310). In still another example, the user may be given the opportunity to view the catalog (310) of stored topologies to obtain topologies that were created for a first user or organization, obtain a number of those topologies, and build a new cloud service that comprises aspects of all the predefined topologies and the respective services described by the pre-defined topologies.

In another example, the user, a service designer, or a combination thereof may design the topology anew, design a topology based on a topology stored in the catalog (310), or design a topology based partially on a topology stored in the catalog (310). Design of a topology (302) may be split among a number of users, designers, and administrators. The designing of the topology (302) may include separating the design of the topology into a number of topologies and attaching to the separate pieces of the individual topologies and the topology as a whole a number of properties, LCMAs, and policies. The user may also order a desired topology, be given an opportunity to approve of the chosen topology, and view and operate the topology by executing a number of applications on the resultant cloud service.

In another example, an application program interface (API) may be made available that invokes the call functions associated with the desired topology (302). In the self-service portal (309) example, the catalog (310) may be made available to the user, may identify to the user the item or items associated with the desired topology (302), may provide the ability for the user to order a number of services, and provide for the deployment of the selected topology (302). In one example, the deployment of the topology (302) may be approved by the user or a manager as defined by an approval workflow before deployment based on, for example, a service level agreement (SLA), cost of the cloud services, and the policies, among other considerations. In still another example, once the topologies (302) are designed and stored in the catalog (310), the topologies (302) may be identified by commercial terms and associated descriptions of how the topology (302) may be used.

When a topology (302) has been designed, the topology (302) may be provisioned on behalf of the user to create a subscription within the SLA. The topology lifecycle management (LCM) engine (311) is a data processing device that will execute the topology (302) to provision and deploy computing resources to form the cloud service for use by the user. The topology LCM engine (311) analyzes the topology (302) created, and creates a set of scripts that form execution logic in the form of the execution plan to instantiate and realize the topology (302). In one example, the set of scripts define a sequence of provisioning and deployment of computing resources. The topology LCM engine (311) applies the policies associated with the topology (302) and the nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7) of the topology (302) as well as the policies set for the resources managed by the resource offering manager (308).

As a result of the above systems and methods, an instantiated service (312) is provided to the user for use. The instantiated service (312) comprises a number of computing devices that match the designed topology (302) and the nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7) within the topology (302). The instantiated service (312) functions based on the policies described above. The computing devices that make up the instantiated service (312) may comprise, for example, servers, switches, client devices, and databases, among many other computing devices. A realized topology (314) is derived by the LCM engine (311) or other device based on the instantiated service (312).

In addition to the instantiated service (312), a monitoring system (313) is also deployed if not already existent, or setup and configured if already available in order to monitor the instantiated service (312). With the inclusion of a monitoring system (313) within the topology-based management broker (200), the topology-based management broker (200) provides for a converged management and security (CM&S) environment. In one example, the CM&S environment may be the CM&S environment developed and distributed by Hewlett Packard Corporation. In another example, the CM&S environment may be the CM&S environment described in International Patent App. Pub. No. PCT/US2012/059209, entitled “Hybrid Cloud Environment” to Maes et al., which is hereby incorporated by reference in its entirety. The CM&S environment provides for template- and model-based approaches to application and service development and deployment, with the ability to bind management and security capabilities to service models at deployment time in order to ensure common capabilities across hybrid cloud environments. CM&S also provides portability across private and public cloud environments, which may include heterogeneous infrastructures, management, and security tools. Further, CM&S provides efficient delivery and management of the application release, whether the infrastructure resources are on premise, in the public cloud or in a hybrid environment across public and private clouds. CM&S also provides role-based, predictive, and real-time performance and risk insights, and analytics such as, Business Intelligence (BI), Business Activity Monitoring (BAM), and big data analyses across heterogeneous systems, networks, and cloud environments.

Moreover, CM&S may be used as a platform to support self-management services or autonomous management services. Accordingly, CM&S may support the programming model described herein.

In one example, the monitoring system (313) operates based on the monitoring policies associated with the topology (302) and the nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7) of the topology (302) as described above. In this example, the monitoring system (313) is used to monitor the operations, the security, the compliance, and the usage of the topology (302) and the nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7) of the topology (302), among other items to monitor within the instantiated service (312).

In one example, the monitoring system (313) is deployed to monitor the instantiated service (312) in cases where the monitoring system (313) already exists. In this example, a number of existing monitoring devices may be used to monitor the instantiated service (312) autonomously, through human intervention, or a combination thereof by configuring the existing monitoring system (313) to match the monitoring policies defined when designing the topology (302). In this example, the monitoring system (313) already existent may be configured based on the monitoring policies associated with the topology (302) and the nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7) of the topology (302) as described above, configured based on input from a user, or combinations thereof.

In another example, a previously non-existent monitoring system (313) may be provisioned and deployed based on the monitoring policies defined when designing the topology (302). In this example, the monitoring system (313) is provisioned and deployed at the same time as the provisioning and deployment of the instantiated service (312). Further, the monitoring system (313), in this example, is deployed and managed based on the monitoring policies associated with the topology (302) and the nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7) of the topology (302) as described above. In any of the above examples, a complete service as outlined by the topology (302) is created, including the instantiated system (312) and the monitoring system (313).

The topology-based management broker (200) further comprises a realized topology system management (RTSM) database (315). The RTSM database (315) is a logical system repository of realized topologies (314), and may be any form of data repository. In one example, the RTSM database (315) comprises a database management system (DBMS). The DBMS is a combination of hardware devices and software modules that interact with a user, other applications, and the database itself to capture and analyze data. In one example, the RTSM database (315) is a configuration management database (CMDB). A CMDB is a repository of information related to all the components of a realize topology (314).

The DBMS of the RTSM database (315) is designed to allow the definition, creation, querying, update, and administration of a database of realized topologies (314). Realized topologies are a model of the topologies (302) with the policies described above associated therewith. Thus, the realized topology (314) comprises a model of the topology (302), with the policies applied to the various nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7). A number of properties of the nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7) of the realized topology (314) are defined within the realized topology (314). These properties include any details of any instantiated service (312) that is created or updated via the topology-based management broker (200), and may include, for example, the internet protocol (IP) address of the nodes, and characteristics and computing parameters of the nodes, among many other properties.

The RTSM (315) is a repository that stores each instance of a realized topology (314). In this manner, every time a topology (302) is designed, provisioned, and deployed, the topology-based management broker (200) captures the realized topology (314) of that topology (302). Thus, the RTSM (315) contains a realized topology (314) of every topology (302) that has been instantiated within the topology-based management broker (200) or, through the below-described remediation processes, stores a modification of a realized topology or an instantiated service (312). Thus, in one example, in every instance of the modification of an existing topology (302), the realized topology (314) resulting from that modification is also stored within the RTSM (315). The remediation processes will now be described in more detail.

As may happen within the topology-based management broker (200), a number of events may occur within the topology-based management broker (200). These events may include, for example, a policy failure within a node of the instantiated service (312), a failure of one or more hardware or software components within the instantiated service (312), and an unauthorized access of the instantiated service (312), among many other computing-related events. Further, the monitoring system (313) monitors a number of performance- and utilization-related events that may occur within the instantiated service (312). These performance- and utilization-related events may include, for example, processor utilization within a number of the nodes, utilization of a number of the nodes by, for example, customers of the user's business, and levels of remaining data storage space within a data storage device, among many other performance- and utilization-related events.

In one example, the monitoring system (313) informs the event handler (316) of any events detected by the monitoring system (313). The event handler (316) is any computing device that receives data associated with detected events from the monitoring system (313), and processes the data in order to create a number of incidents that may arise from the detected events.

Thus, the topology-based management broker (200) processes the events that are detected by the monitoring system (313). Processing of events detected by the monitoring system (313) may be performed by the event handler (316). The event handler (316) may receive any kind or amount of data from the monitoring system (313). As described above, the data received from the monitoring system (313) by the event handler (316) may include any data associated with the operation and usage of the instantiated service (312) as a whole, and the nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7) within the instantiated service (312) as groups of nodes and as individual nodes. In one example, the event handler (316) performs a number of requests for the event data. In this example, the event handler (316) may poll the monitoring system (313) for the event data after a predefined time period, randomly, when triggered by another event, or a combination thereof. As described above, event handling and processing may, in one example, be delegated to another system or third party service. For example, event handling such as correlation and filtering of events and incidents and incident identification may be delegated to HP BUSINESS SERVICE MANAGEMENT; a suite of service management software tools developed and distributed by the Hewlett Packard Corporation. Remediation processes may be delegated to HP OPERATIONS MANAGER I (HP OMi) or SITESCOPE; both comprising a suite of software tools developed and distributed by the Hewlett Packard Corporation. Security event notification, processing, and remediation may be delegated to HP ARCSIGHT; a suite of service management software tools developed and distributed by the Hewlett Packard Corporation. In one example, HP ARCSIGHT may reference the service agreement (SA) associated with the instantiated service (312) to comply with the SA.

The data received from the monitoring system (313) is processed by the event handler (316), and the event handler (316) determines whether an event requires a remediation action, and whether and how to present a notification of the event to a user, administrator, third party, or other user of the topology-based management broker (200) or instantiated service (312). If the event handler (316) determines that a remediation action is to be taken in connection with an event, the event handler (316) generates an incident based on the event, and the data associated with the event is sent to a remediation engine (317). In one example, the event handler (316) may process the events received from the monitoring system (313) using a number of processing types. Types of processing that the event handler (316) may perform include filtering, correlation, and aggregation of the events, among other forms of event processing, and combinations thereof. In one example, a number of events may collectively be subjected to a number of forms of event processing in order to create an incident. In this example, the events may individually not support the creation of an incident that requires remediation, but a number of events, when analyzed by the event handler (316), may indicate that an issue within the instantiated topology (312) is not in agreement with the policies (303), or is otherwise in need of remediation.

In another example, incidents may be identified from a number of ticket support systems. For example, an information technology (IT) service management system (ITSM) (316-1) may also be a source of incidents. An ITSM system (316-1) implements and manages the quality of IT services that meet the needs of the user. In one example, the ITSM system (316-1) is managed by the user, a service provider, a third party, or combinations thereof, in which a service ticket is opened by one of these groups or individuals. In another example, the ITSM system (316-1) may automatically enter a service ticket based on the events detected by the monitoring system. If the ITSM system (316-1) determines that the instantiated system (312) or a number of nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7) thereof are not appropriately provisioned, are wrongly provisioned, or are otherwise unfit for the instantiated system (312), the ITSM system (316-1) may, like the event handler (316), provide a remediation determination in the form of an incident sent to the remediation engine (317).

The incidents generated by the event handler (316) and the ITSM system (316-1) may be brought to the attention of a user, administrator, third party, or other user of the topology-based management broker (200) or instantiated service (312) in the form of a notification. As described above, the remediation policies define how a remediation action is to be performed, and may include: (1) providing notifications to a user, consumer, or administrator; (2) obtaining instructions from the user, consumer, or administrator; (3) taking manual actions input by the user, consumer, or administrator; (4) taking autonomous actions after receiving instructions from the user, consumer, or administrator; (5) taking autonomous actions without receiving instructions from the user, consumer, or administrator; (6) taking autonomous actions without notifying the user, consumer, or administrator or receiving instructions from the user, consumer, or administrator; or combinations thereof. In this manner, the issuance of notifications within the system is defined by the remediation policies.

The remediation engine (317) executes, via a processor, logic to correct the incidents reported by the event handler (316) and/or ITSM system (316-1). Remedies issued by the remediation engine (317) may include, for example, allocation of additional computing resources, allocation of different computing resources, and reallocation of computing resources from one geographical area to another, among many other remediation actions. In one example, the remediation actions taken by the remediation engine (317) are implemented to remedy a misallocation of computing resources that does not comply with the policies associated with the topology (302) designed. In another example, the remediation actions taken by the remediation engine (317) are implemented to remedy a failure of a number of computing resources within the instantiated service (312). In still another example, the remediation actions taken by the remediation engine (317) are implemented to adjust the security levels of the instantiated service (312) and the groups and individual computing resources therein. Any number of other remediation actions may be implemented by the remediation engine (317) for any number of reasons.

In one example, the remediation actions taken by the remediation engine (317) are implemented with or without notification to a user, administrator, third party, or other user as described above. Further, in another example, the remediation actions taken by the remediation engine (317) are implemented autonomously, without user interaction or confirmation from a user.

In still another example, the remediation actions taken by the remediation engine (317) are implemented with user interaction from the consumer, administrator, third party, or other user. In this example, the remediation engine (317) sends data to a self-service subscription management engine (318). The self-service subscription management engine (318) executes, via a processor, logic to present information to a user regarding the events detected by the monitoring system (313) and the incidents generated by the event handler (316) and ITSM system (316-1). The self-service subscription management engine (318) also executes, via a processor, logic to present to a user a number of recommendations for remediation of the events and incidents.

In one example, the self-service subscription management engine (318) executes, via a processor, logic to present a number of graphical user interfaces (GUIs) (318-1) to a user. In this example, the GUIs (318-1) allow a user to view the realized topology (314), and the events detected by the monitoring system (313) and the incidents generated by the event handler (316) and ITSM system (316-1). In this manner, the user is able to identify the problems within the realized topology (314) via the GUIs (318-1) produced by the self-service subscription management engine (318). Further, the GUIs (318-1) allow the user to select a recommended remediation action and define how the remediation action may be executed.

In another example, the self-service subscription management engine (318) may execute, via a processor, an API to provide to a user a number of indicators within a representation of the realized topology (314) that represent the problem within the realized topology (314) paired with information regarding the problem and which nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7) in the realized topology (314) the problem is associated with.

When the remediation engine (317) executes its logic to correct the incidents reported by the event handler (316) and ITSM system (316-1), and/or when a user, via the self-service subscription management engine (318), selects a remediation action to be taken, the topology-based management broker (200) executes a number of calls to a number of lifecycle management actions (LCMAs) to remediate the incidents. LCMAs may include, for example, duplication, moving, copying, or killing of a number of computing resources including all or portions of the realized topology (314), among other LCMAs.

The topology LCM engine (311) executes a new topology (302) created through the remediation processes to provision and deploy computing resources to form a new instantiated service (312). Thus, the topology LCM engine (311) iteratively applies the LCMAs received from the self-service subscription management engine (318) and the remediation engine (317) to the realized topology (314) to create the new and subsequent instantiated service (312).

The remediation processes comprises all of the functionality of the monitoring system (313), the event handler (316), the ITSM system (316-1), the remediation engine (317), the self-service subscription management engine (318), the topology LCM engine (311), and combinations thereof. Any number of iterations of this remediation process may be applied to successive realized topologies (314) to create successively new instantiated services (312). In this manner, the new instantiated service (312) will comprise a number of computing resources that match the designed topology (302) as well as the changes made by the executed LCMAs via the remediation process. Thus, the topology-based management broker (200), with the topology LCM engine (311), derives a new and subsequent realized topology from the new and subsequent instantiated service (312), and stores the subsequent realized topology in the RTSM (315).

Based on the above, the topology-based management broker (200) is able to provision, deploy, and maintain an instantiated service (312) autonomously with or without user interaction. Thus, in this manner, a number of applications being executed on the instantiated service (312) are able to be self-executing on the instantiated service (312) by, for example, calling an API.

As described above, the structures of blueprints (100) are difficult to use as models of applications or templates of infrastructures as CONTINUOUS DELIVERY AUTOMATION (CDA) does. CDA is system tool utilized within a topology designer that independently models infrastructure and application requirements while managing versions, configurations, and other application components. CDA 1.2 is also developed and distributed by Hewlett Packard Corporation. The structures of blueprints (100), for the same reason given above, are difficult to use as models of applications because blueprints do not describe the architecture of the application. Further, blueprints are difficult to use as templates of an infrastructure because they also do not describe the architecture of the infrastructure. As a result, systems aiming at modeling application models and infrastructure or platform templates, and mapping the application models and infrastructure or platform templates to each other are not easily reconciled with the blueprints because they are based on different methods of modeling these services. The reconciliation between the models of a number of applications executed on the deployed service with the infrastructure templates of the service will now be described.

As depicted in FIG. 4, the topology-based management broker (200) further comprises a subsystem capable of independently modeling infrastructure and application requirements of a topology on the same stack as the subsystem depicted in FIG. 3. However, as described above, the present systems and associated methods also support all the use cases that a CDA supports such as those CDA 1.2 supports. As described above, CDA is a number of software tools utilized within a topology designer that independently model infrastructure and application requirements while managing versions, configurations, and other application components. CDA 1.2 is also developed and distributed by Hewlett Packard Corporation.

The subsystem of the topology-based management broker (200) depicted in FIG. 4 may be used to design a topology for a number of applications to be executed on the instantiated service (312). The subsystem of FIG. 4 assists in the provisioning, deploying, and maintaining of a topology that supports the applications, and provides application models that match appropriate infrastructure templates. In one example, the models of the applications executed on the deployed topology utilize designed topologies that are easily reconciled with the templates defining the infrastructure topologies of the topology.

A topology designer (301) may be used to design and create an application model (319). The application model (319) is defined by a lifecycle management topology. As described above in connection with the LCM topology (302), the application model (319) comprises a number of nodes (319-1, 319-2, 319-3). A number of policies and lifecycle management actions (LCMA) are associated with each of the nodes (319-1, 319-2, 319-3) of the application model (319).

A topology designer (301) may also be used to create a number of infrastructure and/or platform templates (320). The templates (320) are defined by a lifecycle management topology. As described above in connection with the LCM topology (302), the templates (320) comprise a number of nodes (320-1, 320-2, 320-3, 320-4, 320-5). A number of policies and lifecycle management actions (LCMA) are also associated with each of the nodes (320-1, 320-2, 320-3, 320-4, 320-5) of the templates (320).

In one example, the topology designers (301), self-service portal (309), and resource offering manager (308), alone or in combination, may associate a number of policies (303) and LCMAs (304) with the nodes (319-1, 319-2, 319-3, 320-1, 320-2, 320-3, 320-4, 320-5) of the application model (319) and infrastructure template (320). In another example, a separate policy engine and LCMA engine may be provided to associate the nodes (319-1, 319-2, 319-3, 320-1, 320-2, 320-3, 320-4, 320-5) of the application model (319) and infrastructure template (320) with the policies and LCMAs as described above.

As depicted in FIG. 4, a number of models (319) may be presented as possible matches or near matches for a number of infrastructure templates (320). In one example, rather than using a topology designer (301), a number of application models (319) resources may be provided within the topology-based management broker (200). In this example, the topology-based management broker (200) may obtain application models (319) from, for example, the catalog (310), the RTSM (315), another model source, or combinations thereof. A user may browse through these model sources and obtain a number of application models (319) that may be reconciled with the infrastructure templates (320). In this manner, the topology designer (301) may design a number of application models (319) or a number of application models (319) may be obtained from the above-described resource. Thus, the application models (319) may be application topologies designed by the topology designer (301), or realized application topologies as described above.

Similarly, as depicted in FIG. 4, a number of templates (320) are presented as possible matches or near matches for the application model (319). In one example, rather than using a topology designer (301), a number of template (320) resources may be provided within the topology-based management broker (200). In this example, the topology-based management broker (200) may obtain templates (320) from, for example, the catalog (310), the RTSM (315), another template source, or combinations thereof. A user may browse through these template sources and obtain a number of templates (320) that may be reconciled with the application model (319). In this manner, the topology designer (301) may design a number of templates (320) or a number of templates may be obtained from the above-described resource. Thus, the templates (320) may be infrastructure topologies designed by the topology designer (301), or realized infrastructure topologies as described above.

The CDA subsystem described in FIG. 4 comprises a stitching engine (321) to stitch or combine the application model (319) to the infrastructure template (320). The stitching engine (321) may use any type of method to stitch the application model (319) to the infrastructure template (320) based on the policies and LCMA associated with the application model (319) to the infrastructure template (320). In one example, the stitching engine (321) may use a matching process in which the stitching engine (321) matches the policies, requirements, and capabilities associated with the nodes (319-1, 319-2, 319-3) of a number of application models (319) with the policies, requirements, and capabilities of the nodes (320-1, 320-2, 320-3, 320-4, 320-5) of a number of infrastructure templates (320). In this example, the stitching engine (321) may browse through the template sources described above to find a match or near match. Once a match is found, the stitching engine (321) matches a number of nodes (319-1, 319-2, 319-3) of the application model (319) with a number of the nodes (320-1, 320-2, 320-3, 320-4, 320-5) of the matching infrastructure template (320).

Another method the stitching engine (321) may use to stitch the application model (319) to the infrastructure template (320) may comprise an algorithmic matching method. In this method, the stitching engine (321) determines a match mathematically via algorithms that employ the policies in performing the matching decisions. In one example, this may include inference methods in which requirements in the application level are tagged or otherwise associated with components that support them in a library of infrastructure topologies called a DSL database (323), wherein the overall infrastructure template (320) is aggregated first before the aggregation is extended to the application model (319).

A definitive software library (DSL) is a secure storage device, consisting of physical media or a software repository located on a network file server. Definitive authorized versions of all software configuration items (CIs) or artifacts that may be required to deploy the application designed in the application model (319) may be stored and protected in a DSL. In the present example, a number of infrastructure topologies (320) are stored in the DSL. Thus, the DSL contains master copies of a number of infrastructure topologies (320) developed using the present systems and methods or purchased from an third party. All related documentation related to the infrastructure topologies (320) is also stored in the DSL. The DSL database (323) of the present topology-based management broker (200) comprises a number of objects used in the deployment of the application after the application model (319) has been developed and is ready for deployment on the infrastructure template (320). In one example, a topology designer (301) may also provide additional design elements within the topology before, during, and/or after the stitching engine (321) processes the application model (319) and the infrastructure template (320) to create the topology (302) with a number of nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7).

Once the stitching engine (321) has completed the stitching process as described above, a complete topology (302) is created. The topology created by the subsystem of FIG. 4 may have additional policies and LCMAs associated with the nodes as described above in connection with FIG. 3. The topology (302) created via the subsystem of FIG. 4 may be stored in the catalog (310), the DSL database, or other storage device or system. The topology (302) created via the subsystem of FIG. 4 may be processed in a similar manner as described above in connection with the topology (302) developed in FIG. 1A. The LCM engine (311) obtains the artifacts required to deploy the application designed in the application model (319) from the DSL (323) and executes the topology (302).

In one example, an application lifecycle management (ALM) device (322) depicted in FIG. 3 is used to trigger the deployment of the topology developed on the subsystem depicted in FIG. 4 of the overall topology-based management broker (200). In one example, Hewlett Packard's Application Lifecycle Management (HP ALM) is used. HP ALM is a unified software platform developed and distributed by Hewlett Packard Company. HP ALM assists in accelerating the delivery of secure, reliable modern applications in a network.

FIG. 6A is a flowchart showing a method for brokering a cloud service, according to one example of the principles described herein. The method of FIG. 6A includes generating (block 601) a topology (FIGS. 3 and 4, 102). As described above, in one example, a number of topology designers (FIG. 3, 301) including a number of topology design tools, GUIs, and coding scripts, may be used by a human designer to design the topology (FIGS. 3 and 4, 302). The topology (FIGS. 3 and 4, 302) may be designed using either or both of the subsystems depicted in FIGS. 3 and 4. Further, in one example, topologies (FIGS. 3 and 4, 302) designed and stored may be browsed or search for in a database of topologies (FIGS. 3 and 4, 302) and used as a portion of the topology (FIGS. 3 and 4, 302) to be instantiated.

In one example, topologies (302) may be generated by designing a topology (302) de novo via a number of topology designers (301). In another example, the topology may be generated (block 601) by stitching a number of applications models (FIG. 4, 319) and a number infrastructure templates (FIG. 4, 320) together using a number of stitching methods. As will be described in more detail below, the stitching engine (FIG. 4, 321) may obtain a number of infrastructure topologies (FIG. 4, 320), and stitch (FIG. 9, block 903) a number of application models (FIG. 4, 319) to a number of appropriate infrastructure templates (FIG. 4, 320). In another example, the application models (FIG. 4, 319) and infrastructure templates (FIG. 4, 320) may be designed de novo by a number of topology designers (301). In one example, a number of persons may use the topology designers (301) to design the topologies (302) in accordance with the method of FIG. 6. These individuals may be service designers, infrastructure architects or administrators, system administrators, information technology operators, offer managers, or users, among other personnel with roles in the design of a topology. In still another example, the topology designers (301) may be operated by a third party.

The method may continue by associating (block 602) a number of LCMAs (304) with a number of nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7) within the topology (302). In one example, block 602 may be performed with the resource offering manager (FIG. 3, 308). The LCMAs orchestrate a number of application programming interfaces (APIs) of a number of resources for purposes of managing the lifecycle of a given cloud service capability. In one example, the LCMAs are uniform resource identifiers (URIs) of application programming interfaces (APIs) that perform calls in order to execute the APIs.

In one example, policies (FIG. 3, 303) may also be associated with a number of nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7) within the topology (302). In one example, association of policies (FIG. 3, 303) with a number of nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7) within the topology (302) may be performed with the resource offering manager (FIG. 3, 308). A policy is any data or metadata used to assist in the management of the provisioning, deploying, monitoring, enforcement, and remediation within a cloud service. The policies may represent a number of rules or sets of rules that are applicable to the provisioning, deploying, monitoring, enforcement, and remediation tasks associated with a number of computing devices within a cloud service environment.

The topology (302) may be executed (block 603). In one example, the topology (302) is executed (block 603) based on the LCMAs (304) associated (block 602) with a number of nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7) within the topology (302). Further, in another example, the topology (302) is executed (block 603) based on the policies (303) associated with a number of nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7) within the topology (302).

In still another example, a number of scripts may be created for execution (block 603) of the topology (302). The scripts define executable logic for instantiating a cloud service based on the topology (FIGS. 3 and 4, 302) and policies (FIG. 3, 303).

FIG. 6B is a flowchart showing a method for brokering a cloud service, according to one example of the principles described herein. As depicted in FIG. 6B, the method may include designing an application (block 601-1) as self-managing, auto-managing, or combinations thereof. For example, an auto-managing application may define the policies used to carry out different functionalities within the cloud service such as provisioning, remediation, monitoring, event handling, and other functionalities described herein Accordingly, designing the application (block 601-1) as an auto-managing application may include incorporating policies to direct how the different functionalities are carried out. By comparison, a self-management application may include code within the application to carry out the various functionalities. Accordingly, designing the application (block 601-1) as a self-managing application may include incorporating code within the application that carries out the different functionalities.

The methods of FIGS. 6A and 6B will be described in more detail in connection with FIG. 7.

FIG. 7 is a flowchart showing a method for brokering a cloud service, according to another example of the principles described herein. The method of FIG. 7 may begin by generating (block 701) a topology. As described above, in one example, a number of topology designers (FIG. 3, 301) including a number of topology design tools, GUIs, and coding scripts, may be used by a human designer to design the topology (FIGS. 3 and 4, 302). The topology (FIGS. 3 and 4, 302) may be designed using either or both of the subsystems depicted in FIGS. 3 and 4. Further, in one example, topologies (FIGS. 3 and 4, 302) designed and stored may be browsed or search for in a database of topologies (FIGS. 3 and 4, 302) and used as a portion of the topology (FIGS. 3 and 4, 302) to be instantiated.

In one example, topologies (302) may be generated by designing a topology (302) de novo via a number of topology designers (301). In another example, the topology may be generated (block 601) by stitching a number of applications models (FIG. 4, 319) and a number infrastructure templates (FIG. 4, 320) together using a number of stitching methods. As will be described in more detail below, the stitching engine (FIG. 4, 321) may obtain a number of infrastructure topologies (FIG. 4, 320), and stitch (block 903) a number of application models (FIG. 4, 319) to a number of appropriate infrastructure templates (FIG. 4, 320). In another example, the application models (FIG. 4, 319) and infrastructure templates (FIG. 4, 320) may be designed de novo by a number of topology designers (301).

In one example, a number of persons may use the topology designers (301) to design the topologies (302) in accordance with the method of FIGS. 6A and 6B. These individuals may be service designers, infrastructure architects or administrators, system administrators, information technology operators, offer managers, or users, among other personnel with roles in the design of a topology. In still another example, the topology designers (301) may be operated by a third party.

In some examples, generating (block 701) a topology may include designing (block 701-1) an application as self-managing, auto-managing, or combinations thereof. This may be performed as described in connection with FIG. 6B.

The method may continue by associating (block 702) a number of policies (FIG. 3, 303) with a number of nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7) within the topology (302). In one example, block 702 may be performed with the resource offering manager (FIG. 3, 308). A policy is any data or metadata used to assist in the management of the provisioning, deploying, monitoring, enforcement, and remediation within a cloud service. The policies may represent a number of rules or sets of rules that are applicable to the provisioning, deploying, monitoring, enforcement, and remediation tasks associated with a number of computing devices within a cloud service environment.

At block 703, a number of lifecycle management actions (LCMAs) (FIG. 3, 304) may be applied to a number of nodes within the topology. The LCMAs orchestrate a number of application programming interfaces (APIs) of a number of resources for purposes of managing the lifecycle of a given cloud service capability. In one example, the LCMAs are uniform resource identifiers (URIs) of application programming interfaces (APIs) that perform calls in order to execute the APIs.

In one example, the policies (FIG. 3, 303) and LCMAs (FIG. 3, 304) may be associated with the nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7) within the topology (302) via data or metadata describing the nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7) of the topology (FIG. 3, 302). The data or metadata may be provided in a number of files describing the nodes or topology, or in a file associated therewith. In another example, the LCMAs are associated with the aspects of the topology by default by virtue of what computing device the node or nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7) represent.

In another example, the LCMAs are associated with the aspects of the topology by explicitly providing a number of functions, F_(Action), that define how to select a resource provider to implement the action based on the policies associated with the aspects of the topology and the policies of the different relevant resource providers. These functions define how a resource provider is selected to implement the action based on the policies associated with the aspect of the topology and the policies of the different relevant resource providers. In one example, the processes of blocks 702 and 703 may be performed in any order serially, or in parallel. Further, in one example, a number of persons may use the topology designers (301) to design the topologies (302) in accordance with the method of FIG. 6. These individuals may be service designers, infrastructure architects or administrators, system administrators, information technology operators, offer managers, or users, among other personnel with roles in the design of a topology. In still another example, the topology designers (301) may be operated by a third party.

A number of resource provider policies (308-1) may be associated (block 704) with a number of nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7) within the topology (302). Resource provider policies (308-1) are any policies associated with a number of resource providers' offerings that guide the selection of a number of resources. In one example, the resource provider policies (308-1) may be dynamic functions that define the computing abilities of a computing resource. In this example, a computing resource that provides a defined level of computing resources such as, for example, processing power, may be provisioned by the LCM engine (311) and resource offering manager (308) if the defined level of that computing resource meets a number of requirements within the topology (302).

The topology (302) may be executed (block 705). In one example, the topology (302) is executed (block 705) based on the policies, (303), LCMAs (304), resource provider policies (308-1), or combinations thereof. In one example, a number of scripts may be created for execution (block 705). The scripts define executable logic for instantiating a cloud service based on the topology (FIGS. 3 and 4, 302), policies (FIG. 3, 303), LCMAs (FIG. 3, 304), resource provider policies (308-1), or combinations thereof. Specifically, executing (block 705) the topology (302) may include executing the code, or policies that self-manage the application or that auto-manage the application.

A topology LCM engine (FIG. 3, 311) instantiates (block 706) the topology (FIGS. 3 and 4, 302). In one example, instantiation (block 706) of the topology (302) is based on the policies (FIG. 3, 303), LCMAs (FIG. 3, 304) resource provider policies (308-1), executable scripts, or combinations thereof. In one example, the topology LCM engine (FIG. 3, 311) obtains the workflows or sequences of serial and/or parallel scripts created at block 705 during execution, calls a resource provider via the resource offering manager (FIG. 3, 308), and instantiates the topology (FIGS. 3 and 4, 302) based on the policies (FIG. 3, 303), LCMAs (FIG. 3, 304) resource provider policies (308-1), and executable scripts to create an instantiated service (FIG. 3, 312).

A number of realized topologies (FIG. 3, 314) may be derived (block 707) from the instantiated service (FIG. 3, 312). In one example, the topology LCM engine (FIG. 3, 311) derives a realized topology (FIG. 3, 314) from each instantiated service (FIG. 3, 312). A number of the realized topologies (FIG. 3, 314) may be stored (block 708) in a database of realized topologies. In one example, the LCM engine (FIG. 3, 311) stores the realized topologies (FIG. 3, 314) in the realized topology system management (RTSM) database (FIG. 3, 315); a logical system repository of realized topologies (FIG. 3, 314). In one example, the RTSM database (315) comprises a database management system (DBMS). The DBMS is a combination of hardware devices and software modules that interact with a user, other applications, and the database itself to capture and analyze data.

In one example, the RTSM database (FIG. 3, 315) is a configuration management database (CMDB); a repository of information related to all the components of a realize topology (FIG. 3, 314). The realized topology (FIG. 3, 314) comprises a model of the topology (FIG. 3, 302), with the policies applied to the various nodes (FIG. 3, 302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7). A number of properties of the nodes (FIG. 3, 302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7) of the realized topology (FIG. 3, 314) are defined within the realized topology (FIG. 3, 314). These properties include any details of any instantiated topology (FIG. 3, 312) that is created or updated via the topology-based management broker (FIG. 3, 200), and may include, for example, the internet protocol (IP) address of the nodes, and characteristics and computing parameters of the nodes, among many other properties.

The RTSM (FIG. 3, 315) is a repository that stores each instance of a realized topology (FIG. 3, 314). In this manner, every time a topology (FIG. 3, 302) is designed, provisioned, and deployed, the topology-based management broker (FIG. 3, 200) captures the realized topology (FIG. 3, 314) of that instantiated topology (312). Thus, the RTSM (FIG. 3, 315) contains a realized topology (FIG. 3, 314) of every topology (FIG. 3, 302) that has been instantiated within the topology-based management broker (FIG. 3, 200). In one example, in every instance of the modification of an existing instantiated topology (312), the realized topology (FIG. 3, 314) resulting from that modification is also stored within the RTSM (FIG. 3, 315).

FIG. 8 is a flowchart showing a method for remediating a number of incidents within a cloud service, according to one example of the principles described herein. The remediation method of FIG. 8 may be performed alone, or in combination with any number of additional process described herein such as those process described in FIGS. 6A, 6B, 7, and 8. Further, any block within the method of FIG. 8 may be performed alone or in combination with any number of other processes within FIG. 8. For example, a monitoring process described at block 801 may be performed alone without the remaining processes being performed, or less than all of the remaining processes being performed.

The remediation method of FIG. 8 may include monitoring (block 801) an instantiated topology (FIG. 3, 312) for a number of events. The monitoring system (313) monitors (block 801) an instantiated topology (FIG. 3, 312) based on the monitoring policies associated with the topology (302) and the nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7) of the topology (302) as described above. In one example, the monitoring system, based on the policies, monitors for a number or set of metrics. Monitoring based on policies may be referred to as auto-monitoring. By comparison, a self-monitoring system may monitor for a number or set of metrics based on code included in an application. A number of events may be derived from the detected metrics.

The monitoring system (313) sends data representing a number of the events to the event handler (313) based on a number of the policies associated with the designed topology (302) and the instantiated service (312). For example, as described above, the monitoring policies include a portion that defines what to do with the monitored events that result from the monitoring such as, for example, how to handled the events, where the events are sent, what devices or individuals address the events, how incidents resulting from the processing of the events are handled, how the events and incidents are processed (e.g., processed as aggregated, filtered, or correlated events, among other forms of processing), and how the resulting incidents are handled. By comparison, in another example, the number of events may be passed to the event handler (313) based on code included within an application, as is the case in a self-management system. The code may describe what to do with the monitored events that result from the monitoring such as, for example, how to handle the events, where the events are sent, what devices or individuals address the events, how incidents resulting from the processing of the events are handled, how the events and incidents are processed (e.g., processed as aggregated, filtered, or correlated events, among other forms of processing), and how the resulting incidents are handled.

A number of events detected by the monitoring system (313) may be processed by the event handler (316) based on a number of the policies described above. By comparison, in some examples, the events may be processed by the event handler (316) based on code within an application, as in a self-management application. Handling (block 802) of events may include, for example, processing the events as aggregated, filtered, or correlated events, among other forms of processing. Further, based on the above-described policies, the event handler (313) may handle (block 802) the events by determining whether the events should be processed into incidents, or whether to notify a number of users of the system (200), for example.

A number of incidents are generated (block 802). In one example, the incidents are created by the event handler (FIG. 3, 316) based on a number of policies including, for example, monitoring and remediation policies. Similarly, as described above, in a self-management system, the incidents may be created based on code included in an application. Further, in one example, the incidents are generated (block 803) by the event handler (FIG. 3, 316) based on the events detected by the monitoring system (313). In another example, the incidents are generated (block 803) by obtaining a number of service tickets from an information technology (IT) service management system (ITSM), and, with the event handler, creating a number of incidents based on the service tickets. As described above, an ITSM (316-1) may also be a source of incidents. An ITSM system (316-1) implements and manages the quality of IT services that meet the needs of the user. In one example, the ITSM system (316-1) is managed by the user, a service provider, a third party, or combinations thereof, in which a service ticket is opened by one of these groups or individuals. In another example, the ITSM system (316-1) may automatically enter a service ticket based on the events detected by the monitoring system. If the ITSM system (316-1) determines that the instantiated system (312) or a number of nodes (302-1, 302-2, 302-3, 302-4, 302-5, 302-6, 302-7) thereof are not appropriately provisioned, are wrongly provisioned, or are otherwise unfit for the instantiated system (312), the ITSM system (316-1) may, like the event handler (316), provide a remediation determination in the form of an incident sent to the remediation engine (317).

The incidents generated by the event handler (316) and the ITSM system (316-1) may be brought to the attention of a user, administrator, third party, or other user of the topology-based management broker (200) or instantiated service (312) in the form of a notification. A number of notifications are sent (block 804) regarding the incidents created by the event handler (313). These notifications may be sent (block 804) to a number of devices and users within the system (200). For example, a number of notifications may be sent to the self-service subscription management engine (318). The self-service subscription management engine (318) may present the notifications to a user via, for example, the GUI (318-1) associated with the self-service subscription management engine (318). Thus, a number of notifications are presented (block 804) to a user regarding the incidents.

In one example, the process defined by block 804 is optional. As described above, the event handler (FIG. 3, 316) may or may not provide notifications to a user based on a number of policies associated with the instantiated topology (312). When the event handler (FIG. 3, 316) does dispatch notifications to a user, a varying level of user interaction may be allowed or required including allowing a user to interact with, for example, a number of the GUIs (318-1) produced by the self-service subscription management engine (318) before a number of remediation actions are taken. As described above, remediation policies define whether a notification is to take place, how that notification is handled, and at what degree user input is allowed or required. Thus, the remediation policies may include: (1) providing notifications to a user, consumer, or administrator; (2) obtaining instructions from the user, consumer, or administrator; (3) taking manual actions input by the user, consumer, or administrator; (4) taking autonomous actions after receiving instructions from the user, consumer, or administrator; (5) taking autonomous actions without receiving instructions from the user, consumer, or administrator; (6) taking autonomous actions without notifying the user, consumer, or administrator or receiving instructions from the user, consumer, or administrator; (7) proposing a remediation action to a user or administrator for approval, and performing the proposed remediation action if approved by the user or administrator, or combinations thereof. In the case of a self-management application, this information may be included in the code of an application.

At block 805, a number of function calls are generated. The function calls issued to the LCM engine (311) by the remediation engine (317) to remediate the incidents may be based on a number of LCMAs associated with the elements of the instantiated topology (312), the incidents to be remediated, and the policies associated with the elements of the topology (302). In this manner, the remediation engine (317) executes, via a processor, logic to correct the incidents reported by the event handler (316) and/or ITSM system (316-1) in order to generate (block 805) the function calls.

Using the function calls generated by the remediation engine (317), the topology LCM engine (FIG. 3, 311) modifies (block 806) an instantiated topology (FIG. 3, 312) based on the subsequent LCMAs created by the remediation engine (317). Modification of an instantiated topology (FIG. 3, 312) may include modifying the topology (312) or a portion thereof, modifying the a number of nodes or a group of nodes, addition of a number of nodes, groups of nodes, or topologies, deletion of a number of nodes, groups of nodes, or topologies, among many other types of changes that may be made to an instantiated service (312). Further, modification of the instantiated topology (312) may include re-instantiation of a previously instantiated topology (312).

A subsequent realized topology (FIG. 3, 314) may be derived (block 807) from the modified topology (FIG. 3, 312), and stored (block 808) in a database of realized topologies. In one example, the LCM engine (FIG. 3, 311) stores the realized topologies (FIG. 3, 314) in the realized topology system management (RTSM) database (FIG. 3, 315).

A determination (block 809) may be made as to whether monitoring of an instantiated topology (FIG. 3, 312) is to end. Reasons to end the monitoring of an instantiated topology (FIG. 3, 312) may include, for example, completion of a contract such as an SLA, ending of the cloud services provided by one or more service providers. If it is determined that monitoring of the instantiated topology (FIG. 3, 312) is to end (block 809, determination YES), then the process terminates. If, however, it is determined that monitoring of the instantiated topology (FIG. 3, 312) is not to end (block 809, determination NO), then the process loops back to block 801, and the process of remediation is repeated. In one example, the remediation process may be performed any number of iterations throughout the lifecycle of an originally instantiated topology (FIG. 3, 312). In this manner, events that may occur within the instantiated topology (FIG. 3, 312) may be addressed in order to maintain a working instantiated topology (FIG. 3, 312). Further, the remediation process described in FIG. 8 allows for the instantiated topology (FIG. 3, 312) to be amended or adjusted to provide a scalable instantiated topology (FIG. 3, 312). As described above, any of the blocks within the method of FIG. 8 may be performed within an auto-managing application. For example, an application may perform the monitoring (block 801), processing (block 802), generating (block 803), sending (block 804) notifications, or any other functionality described in connection with FIG. 8 based on policies that are defined in the application. In another example, the blocks may be performed based on code included within an application. For example an application may include code to carry out the monitoring (block 801), processing (block 802), generating (block 803), sending (block 804) notifications, or any other functionality described in connection with FIG. 8.

FIG. 9 is a flowchart showing a method of designing a topology, according to one example of the principles described herein. The method of FIG. 9 may begin by generating (block 901) an application model (FIG. 4, 319). In one example, a topology designer (301) may be used to design and create the application model (FIG. 4, 319), and, in this manner, generate (701) an application model (FIG. 4, 319). In another example, the application model (FIG. 4, 319) may be obtained from a number of application model (FIG. 4, 319) sources such as, for example, the catalog (FIG. 1A, 310), the RTSM (FIG. 1A, 315), or the DSL database (FIG. 4, 323), among other application model (FIG. 4, 319) sources. The application model (FIG. 4, 319) is defined by a lifecycle management topology. As described above in connection with the LCM topology (FIG. 3, 302), the application model (FIG. 4, 319) comprises a number of nodes (FIG. 4, 319-1, 319-2, 319-3).

Generating (block 901) an application model may include designing (block 901-1) an application as self-managing, auto-managing, or combinations thereof. In some examples, this may be performed as described in connection with FIG. 6B.

A number of infrastructure templates (FIG. 4, 320) may also be generated (block 902). In one example, a topology designer (301) may be used to design and create the infrastructure template (FIG. 4, 320). In another example, the infrastructure template (FIG. 4, 320) may be obtained from a number of infrastructure template (FIG. 4, 320) sources such as, for example, the catalog (FIG. 1A, 310), the RTSM (FIG. 1A, 315), or the DSL database (FIG. 4, 323), among other infrastructure template (FIG. 4, 320) sources. The infrastructure template (FIG. 4, 320) is defined by a lifecycle management topology. As described above in connection with the LCM topology (FIG. 3, 302), the infrastructure template (FIG. 4, 320) comprises a number of nodes (FIG. 4, 319-1, 319-2, 319-3). In one example, a number of persons may use the topology designers (301) to design the application models (FIG. 4, 319) and infrastructure templates (FIG. 4, 320). These individuals may be service designers, infrastructure architects or administrators, system administrators, information technology operators, offer managers, or users, among other personnel with roles in the design of a topology.

A number of application models (FIG. 4, 319) are stitched (block 903) to a number of infrastructure templates (FIG. 4, 320). In one example, the stitching engine (FIG. 4, 321) may obtain a number of infrastructure topologies (FIG. 4, 320) stored in, for example, the DSL database (FIG. 4, 323) or other source of infrastructure templates (320), and stitch (block 902) a number of application models (FIG. 4, 319) to a number of appropriate infrastructure templates (FIG. 4, 320). In another example, the infrastructure templates (FIG. 4, 320) may be designed de novo by a number of topology designers (301).

The stitching engine (FIG. 4, 321) may use any type of method to stitch the application models (FIG. 4, 319) to the infrastructure templates (FIG. 4, 320) based on the policies and LCMA associated with the application models (FIG. 4, 319) to the infrastructure templates (FIG. 4, 320). In one example, the stitching engine (FIG. 4, 321) may use a matching process in which the stitching engine (FIG. 4, 321) matches the policies, requirements, and capabilities associated with the nodes (FIG. 4, 319-1, 319-2, 319-3) of the application models (FIG. 4, 319) with the policies, requirements, and capabilities of the nodes (FIG. 4, 320-1, 320-2, 320-3, 320-4, 320-5) of the infrastructure templates (FIG. 4, 320). In this example, the stitching engine (FIG. 4, 321) may browse through the template sources described above to find a match or near match. Once a match is found, the stitching engine (FIG. 4, 321) matches a number of nodes (FIG. 4, 319-1, 319-2, 319-3) of the application models (319) with a number of the nodes (FIG. 4, 320-1, 320-2, 320-3, 320-4, 320-5) of the matching infrastructure templates (FIG. 4, 320).

Another method the stitching engine (FIG. 4, 321) may use to stitch the application models (FIG. 4, 319) to the infrastructure templates (FIG. 4, 320) may comprise an algorithmic matching method. In this method, the stitching engine (FIG. 4, 321) determines mathematically via algorithms that employ the policies in performing the matching decisions. In one example, this may include inference methods in which requirements in the application level are tagged or otherwise associated with components that support them in the DSL database (FIG. 4, 323), wherein the overall infrastructure topology (FIG. 4, 320) is aggregated first before the aggregation is extended to the application models (FIG. 4, 319).

A number of policies and lifecycle management actions (LCMAs) are associated (blocks 704 and 705) with each of the nodes (FIG. 4, 319-1, 319-2, 319-3) of the application model (FIG. 4, 319) and nodes of the infrastructure topology (FIG. 4, 320). In one example, the association (blocks 704 and 705) of the number of policies (303) and LCMAs (304) with the nodes (319-1, 319-2, 319-3, 320-1, 320-2, 320-3, 320-4, 320-5) of the application model (319) and infrastructure topology (320) may be performed by the topology designers (301), self-service portal (309), and resource offering manager (308), alone or in combination. In another example, a separate policy engine and LCMA engine may be provided to associate the nodes (319-1, 319-2, 319-3, 320-1, 320-2, 320-3, 320-4, 320-5) of the application model (319) and infrastructure topology (320) with the policies (303) and LCMAs (304) as described above.

In one example, the processes of blocks 704 and 705 of associating policies (303) and lifecycle management actions (LCMAs) (304) with each of the nodes (FIG. 4, 319-1, 319-2, 319-3) of the application model (319) and nodes of the infrastructure topology (FIG. 4, 320) may be performed before, during, or after the stitching process described in connection with block 903. In one example where policies and LCMAs are associated before the stitching process of block 902, the policies (303) and LCMAs (304) may be associated with a number of nodes or groups of nodes within the application model (319) and infrastructure topology (320), as well as with the application model (319) as a whole and infrastructure topology (320) as a whole. In this example, additional policies (303) and LCMAs (304) may be associated with the topology (302) created via the stitching process of block 902. In another example, the processes of blocks 704 and 705 of associating policies (303) and lifecycle management actions (LCMAs) (304) with each of the nodes (FIG. 4, 319-1, 319-2, 319-3) of the application model (319) and nodes of the infrastructure topology (FIG. 4, 320) may be optional as to performance of these processes after the stitching process of block 902. In still another example, the processes of blocks 704 and 705 of associating policies (303) and lifecycle management actions (LCMAs) (304) with each of the nodes (FIG. 4, 319-1, 319-2, 319-3) of the application model (319) and nodes of the infrastructure topology (FIG. 4, 320) may be performed before and after stitching process of block 902.

The above processes described in FIG. 9 results in a completely designed topology (302) similar to the topology (302) described above in connection with FIG. 3. Thus, the method described in FIG. 9 may be further associated with the process described herein regarding FIGS. 6, 7, and 8. For example, the topology (FIG. 4, 302) resulting from the method of FIG. 9 may be used as the input topology (FIG. 3, 302) for the method described in connection with FIGS. 6 and 7 at, for example, blocks 601 and 701. Further, in another example, the topology (FIG. 4, 302) resulting from the method of FIG. 9 may be used as the input topology (FIG. 3, 302) for instantiation in the remediation method described in connection with FIG. 8. Further still, in one example, a number of persons participate in the method described in FIG. 9. These individuals may be service designers, infrastructure architects or administrators, system administrators, information technology operators, offer managers, or users, among other personnel with roles in the design, execution, monitoring, and remediation of a topology (302).

FIG. 10 is a flowchart showing a method (1000) for facilitating autonomous computing within a cloud service, according to one example of the principles described herein. The method (1000) may include generating (block 1001) a cloud service (FIG. 3, 312). More specifically, the method (1000) may include generating (block 1001) a cloud service (FIG. 3, 312) based on a lifecycle management topology. The cloud service may be able to carry out autonomous computing. As used herein autonomous computing may refer to autonomous management or self-management.

As such generating (block 1001) a cloud service may include generating an autonomous management service. An autonomous management service may be one that automates management operations based on the environment of the service. For example, a system may take actions based on policies associated with a topology. Such actions may be referred to as management processes. Examples of autonomous management processes include autonomous provisioning, autonomous monitoring, autonomous remediation, or combinations thereof. Generation of an autonomous management service may be based on an application package. The application package may include a topology, or a number of topologies. The application package may also include a number of policies associated with the topology or number of topologies. The application package may include code that allows the service to perform management processes based on the policies. For example, the application package may include provisioning code, monitoring code, remediation code or combinations thereof to generate a service that may perform autonomous provisioning, autonomous monitoring, autonomous remediation or combinations thereof. The application package may further include executables to generate an autonomous management service.

Similarly, as mentioned above, a service may be a self-management service. Accordingly, generating (block 1001) a cloud service may include generating a self-management service. A self-management service may be one where code to perform an action is included in an application from which the service was generated. In other words, an engine to carry out a self-management process may be included in the service as code. Accordingly, when a management process is executed, the service may invoke the code or trigger a script, workflow or policy that will orchestrate APIs to carry out the prescribed self-management function. Examples of self-management processes include self-provisioning, self-configuration, self-optimization, self-monitoring, self-handling, self remediation, self-updating, or combinations thereof.

Generation of a self-service management service may be based on an application package. The application package may include a topology, or a number of topologies. The application package may also include a number of policies associated with the topology or number of topologies. The application package may include code that allows the service to perform management processes based on the policies. For example, the application package may include provisioning code, monitoring code, remediation code or combinations thereof to generate a service that may perform self-provisioning, self-configuration, self-monitoring, self-handling, self-remediation, self-updating or combinations thereof. In particular, and distinct from autonomous management, the application package to generate a self-management service may include code to actually perform the management actions, rather than implementing policies to direct an external module to carry out the functionalities. The application package may further include executables to generate an autonomous management service.

The method (1000) may include establishing (block 1002) a number of management processes to be performed within the cloud service. The processes may be autonomous management processes, self-management processes or combinations thereof.

Establishment of an autonomous management processes may be based on an application package. The application package may include code that allows the service to perform management processes based on the policies. For example, the application package may include provisioning code, monitoring code, remediation code or combinations thereof to generate a service that may perform autonomous provisioning, autonomous monitoring, autonomous remediation or combinations thereof. The application package may further include executables to generate an autonomous management service.

Establishment of a self-service management service may be based on an application package. The application package may include code that allows the service to perform management processes. For example, the application package may include provisioning code, monitoring code, remediation code or combinations thereof to generate a service that may perform self-provisioning, self-configuration, self-monitoring, self-handling, self-remediation, self-updating or combinations thereof. In particular, and distinct from autonomous management, the application package to generate a self-management service may include code to actually perform the management actions. The application package may further include executables to generate an autonomous management service.

More details regarding various autonomous management processes are given below as follows.

Self-configuration may include packaging provisioning policies, capabilities polices and requirements policies within a topology, or using topology stitching. Self-protection may include monitoring a service and remediating incidents that are detected. Accordingly, if there are performance issues with the service, the remediation engine and other life cycle management engines may optimize the service.

Self-configuration may refer to the characteristic of a topology and its associated infrastructure and applications to self-deploy by receiving an instruction to deploy. Self-configuration may also include executing configuration logic that configures a topology and its associated infrastructure and applications without additional human interaction, other than an instruction to deploy.

In some examples, self-management may include self-monitoring an instantiated service (FIG. 3, 312). In an example, a monitoring system (FIG. 3, 313) may collect metric data based on policies (FIG. 3, 303) described in the topology (FIG. 3, 303). Accordingly, an instantiated service (FIG. 3, 312) may trigger a script, workflow, policy (FIG. 3, 303) that will orchestrate a number of APIs to collect metric data.

In other examples, self-monitoring may include executing monitoring logic contained in the instantiated service (FIG. 3, 312) or an application running thereon. In other words, the monitoring system (FIG. 3, 313) may be code included in an instantiated service (FIG. 3, 312). In this example, an instantiated service (FIG. 3, 312) may invoke lifecycle management actions (LCMAs) application programming interfaces (APIs) to call monitoring functions associated with the topology.

In some examples, self-management may include handling events of an instantiated service (FIG. 3, 312). In an example, an event handler (FIG. 3, 316) may process metric data based on policies (FIG. 3, 303) described in the topology (FIG. 3, 303). Accordingly, an instantiated service (FIG. 3, 312) may trigger a script, workflow, or policy (FIG. 3, 303) that will orchestrate a number of APIs to process metric data.

In other examples, self-handling may include executing event handling logic contained in the instantiated service (FIG. 3, 312) or an application running thereon. In other words, the event handler (FIG. 3, 316) may be code included in an instantiated service (FIG. 3, 312). In this example, an instantiated service (FIG. 3, 312) may invoke lifecycle management actions (LCMAs) application programming interfaces (APIs) to call event handling functions associated with the topology. Any block within the method of FIG. 10 may be performed alone or in combination with any number of other processes within FIG. 10. For example, associating lifestyle management logic for a number of operations to a topology may be performed at block 1001 without the remaining processes being performed, or less than all of the remaining processes being performed.

Autonomous computing as described herein may be beneficial in allowing a computing cloud to adapt to unpredictable changes while hiding intrinsic complexity to operators and users. Additionally, the self-management of a computing cloud as described herein may be generic and may be applied in many different environments including virtual clouds, hybrid clouds, public clouds, private clouds, managed clouds, or combinations thereof, and not just closed control loops. Moreover, the method (1000) of FIG. 10 may be implemented in any instantiated service including elemental services or complex compositions of instantiated services. Moreover, the method (100) allows for advanced criteria to be used when establishing autonomous configuration, optimization, protection, and remediation logic.

FIG. 11 is a diagram of a system (1100) for facilitating autonomous computing within a cloud service, according to one example of the principles described herein.

As described above, a system (1100) may facilitate autonomous management in a service, self-management in a service, or combinations therein. As described above, a system (1100) may include an application package (1125) that receives a topology or a number of topologies, and a number of policies associated with the topology or a number of topologies, and executables. For example, an executable may be an image of the application. In this example, the application package (1125) may receive the input (1124) and generates code (1126) to carry out a management process. For example, the application package (1125) may generate provisioning code, monitoring code, remediation code or combinations thereof. An application may then be provided to a platform (1127) from which an instantiated service may be generated. The platform (1127) may establish a number of management processes such as setting up events, reacting to events, and calling APIs to remediate incidents. As depicted in FIG. 11, in some examples, the system (1100) may include code (1126). For example, code (1126) may be included when an application is a self-management application that includes code in the service to carry out the management processes. By comparison, in some examples, the system (1100) may not include code. For example, the code (1126) may be omitted when the application is an autonomous management application that executes policies to perform the prescribed management processes.

FIG. 12 is a diagram of a system (1200) for facilitating autonomous remediation within a cloud service, according to one example of the principles described herein. The system (1200) may include management tools (1228) that may be used to facilitate remediation of a number of incidents.

More specifically, a first workflow is depicted that describes a self-remediation process as indicated by the solid arrows. A second workflow is depicted that describes an autonomous remediation process as indicated by the dashed arrows.

First with regards to the first workflow, or a self-remediation. The system may include an application package (1225). In a self-remediation system, the application (1225) may include code within the application for carrying out various functionalities. For example, code within the application (1225) may handle the monitoring of events. The cloud message broker (1229) may receive a detection of an event, and pass information on to an auto-scaling module (1231) that remediates the event. In the first workflow, the policy decision point module (1230) may be omitted as a self-management system includes code that remediates the incident. In other words, the application package (1225) may specify how to react to an event.

By comparison, the second workflow relating to an auto-management system, may include the policy decision point (1230) module as an autonomous remediation performs actions based on policies. Accordingly, the cloud message broker (1229) may be coupled to the policy decision point module (1230) to indicate a detected event and receive indication on how to handle the event based on policies defined in an application. The cloud message broker (1229) may then pass information on to the auto-scaling module (1231) to update the service accordingly.

Aspects of the present system and method are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to examples of the principles described herein. Each block of the flowchart illustrations and block diagrams, and combinations of blocks in the flowchart illustrations and block diagrams, may be implemented by computer usable program code. The computer usable program code may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the computer usable program code, when executed via, for example, the a number of processors within the devices comprising the topology-based management broker (200) or other programmable data processing apparatus, implement the functions or acts specified in the flowchart and/or block diagram block or blocks. In one example, the computer usable program code may be embodied within a computer readable storage medium; the computer readable storage medium being part of the computer program product. In one example, the computer readable storage medium is a non-transitory computer readable medium.

The specification and figures describe methods and systems of managing the lifecycle of cloud service modeled as a topology. These systems and methods include, with a processor, generating a topology, the topology representing a cloud service, associating a number of lifecycle management actions (LCMAs) with a number of nodes within the topology, and with a lifecycle management engine, executing the topology.

This management of the lifecycle of a cloud service modeled as a topology may have a number of advantages, including: (1) providing a common stack along with common use of topologies, realized topologies, and policies may be used to support all use cases for both cloud service automation (CSA) and continued delivery automation (CDA) platforms and services to construct topologies while utilizing the same technology and supporting multiple providers' associated technologies; (2) providing a computing environment in which CSA and CDA use the same topology representations such as, for example, extensible mark-up language (XML) or JavaScript object mutation (JSON); (3) providing a method of managing migration of content for CSA by reusing existing CSA content, creating a path to migrate resource providers, and reusing providers; (4) avoiding or alleviating the risk of perpetuating a CSA/CDA confusion, duplication of efforts and endangering future CSA opportunities; (5) complex applications may be automatically deployed on requested infrastructure without also requiring users to understand how to perform such operations, (6) supports a CM&S environment, and (7) provides for automatic computing, workload management, and policy-based auto-remediation and self-remediation within a cloud environment among many other advantages.

The preceding description has been presented to illustrate and describe examples of the principles described. This description is not intended to be exhaustive or to limit these principles to any precise form disclosed. Many modifications and variations are possible in light of the above teaching. 

What is claimed is:
 1. A method of facilitating autonomous computing within a cloud service, comprising: generating a cloud service based on a lifecycle management topology, in which the cloud service is an autonomous management service, a self-management service, or combinations thereof; and establishing a number of management processes to be performed within the cloud service, in which the number of management processes comprise autonomous management processes, self-management processes, or combinations thereof; in which the cloud service comprises an instantiation of the topology and a number of applications executable on the instantiation of the topology.
 2. The method of claim 1, in which an autonomous management service performs an operation based on a policy within a topology.
 3. The method of claim 2, in which an autonomous management process comprises autonomous provisioning, autonomous remediation, or combinations thereof.
 4. The method of claim 1, further comprising developing an application using a programming model to, include code within the application, define policies within the application, or combinations thereof.
 5. The method of claim 4, further comprising executing a policy via a platform, to ensure that the application behaves autonomously.
 6. The method of claim 4, further comprising including code within an application to establish monitoring, event handling, incident processing and self-remediation via a platform that exposes an application programming interface (API).
 7. The method of claim 1, in which a self-management process comprises self-provision, self-configuration, self-monitoring, self-handling, self-remediation, self-updating, or combinations thereof.
 8. The method of claim 7, in which self-configuration comprises executing provisioning policies, capabilities policies, requirements policies, or combinations thereof to configure the service.
 9. The method of claim 1, in which an applications package is used to determine whether a service is a self-management service, an autonomous management service, or combinations thereof.
 10. A system for facilitating autonomous computing within a cloud service, comprising: a platform to support autonomous computing within a cloud service, the platform comprising: a broker to generate a cloud service, in which the cloud service is an autonomous management service, a self-management service, or combinations thereof; and a management module to establish a number of management processes to be performed within the cloud service, in which the number of management processes comprise autonomous management processes, self-management processes, or combinations thereof.
 11. The system of claim 10, in which the broker generates a service by processing an applications package.
 12. The system of claim 11, in which the applications package comprises a topology, a number of policies associated with the topology, and executables to perform a number of functions.
 13. The system of claim 10, in which the self-management service comprise code to perform a self-management process.
 14. The system of claim 10, in which the autonomous management applications comprise logic to, call an application programming interface (API) to execute a management process.
 15. A computer program product for facilitating autonomous computing within a cloud service, the computer program product comprising: a computer readable storage medium comprising computer usable program code embodied therewith, the computer usable program code comprising: computer usable program code to, when executed by a processor, generate a cloud service based on a lifecycle management topology, in which the cloud service is an autonomous management service, a self-management service, or combinations thereof; and computer usable program code to, when executed by a processor, establish a number of management processes to be performed within the cloud service, in which the number of management processes autonomous management processes, self-management processes, or combinations thereof. 